[guava-libraries] 01/04: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at alioth.debian.org
Wed Sep 11 09:52:16 UTC 2013


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository guava-libraries.

commit 9bee19c4b493d959e21524432f18b21174b92d2f
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Sep 11 11:07:50 2013 +0200

    Use XZ compression for the upstream tarball
---
 debian/changelog   |    1 +
 debian/orig-tar.sh |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 06f9e75..a26040e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 guava-libraries (14.0.1-2) UNRELEASED; urgency=low
 
   * debian/control: Use canonical URLs for the Vcs-* fields
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 26 Jun 2013 19:17:42 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index fe2930c..eea6ccb 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,13 +1,13 @@
 #!/bin/sh
 
 VERSION=$2
-TAR=../guava-libraries_$VERSION.orig.tar.gz
+TAR=../guava-libraries_$VERSION.orig.tar.xz
 DIR=guava-r$VERSION
 
 mkdir -p $DIR/src/main/java
 (cd $DIR/src/main/java
 	jar xf ../../../../$3
 )
-GZIP=--best tar -cz --owner root --group root --mode a+rX \
+XZ_OPT=--best tar -cJ --owner root --group root --mode a+rX \
   --anchored -X debian/orig-tar.excludes -f $TAR $DIR
 rm -rf $DIR $3

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/guava-libraries.git



More information about the pkg-java-commits mailing list