[wagon2] 02/05: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at alioth.debian.org
Mon Oct 28 12:19:14 UTC 2013


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

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

commit b6b66ad71444cf92aaa59e2f7ea21947ca27c12b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Oct 28 09:54:43 2013 +0100

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

diff --git a/debian/changelog b/debian/changelog
index f68ea05..ae8dfe5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 wagon2 (2.4-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>  Sun, 27 Oct 2013 22:30:07 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 7653c22..fb2618a 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,9 +1,10 @@
 #!/bin/sh -e
 
-TAR=../wagon2_$2.orig.tar.gz
-DIR=wagon-$2
+VERSION=$2
+TAR=../wagon2_$VERSION.orig.tar.xz
+DIR=wagon-$VERSION
 
-tar -zxvf $3
+unzip $3
 rm $3
-tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
+tar -c -J -f $TAR -X debian/orig-tar.exclude $DIR
 rm -rf $DIR

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



More information about the pkg-java-commits mailing list