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

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Feb 26 15:57:18 UTC 2014


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

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

commit f3a53dc3a9c59200b4dcd3cb2faec6aa47c1f35b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Feb 26 16:53:55 2014 +0100

    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 d1d90eb..09d101d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ castor (1.3.2-2) UNRELEASED; urgency=medium
     - Use canonical URLs for the Vcs-* fields
     - Standards-Version updated to 3.9.5 (no changes)
     - Updated the Homepage field
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 26 Feb 2014 16:41:28 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index e39dceb..01edf9c 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -7,12 +7,12 @@ echo "version $2"
 package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
 version=$2
 tarball=$3
-TAR=${package}_${version}.orig.tar.gz
+TAR=../${package}_${version}.orig.tar.xz
 DIR=${package}-${version}.orig
 
 tar zxvf $tarball && mv "${package}-${version}" $DIR
 
-GZIP=--best tar --numeric --group 0 --owner 0 -c -v -z -f $TAR \
+XZ_OPT=--best tar --numeric --group 0 --owner 0 -c -v -J -f $TAR \
     --anchored -X debian/orig-tar.excludes $DIR
 
 rm -rf $tarball $DIR

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



More information about the pkg-java-commits mailing list