[geronimo-osgi-support] 05/05: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 2 16:11:03 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository geronimo-osgi-support.

commit 9f239cfd02b8ce5ac19579c7bdb42c85a8e62960
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jul 2 18:10:48 2015 +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 0acd270..73b0ead 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ geronimo-osgi-support (1.0-3) UNRELEASED; urgency=medium
   * Use canonical URLs for the Vcs-* fields
   * Switch to debhelper level 9
   * debian/copyright: Added the missing DEP5 header
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 02 Jul 2015 17:44:24 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index b885187..afeee81 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
 REPO="http://svn.apache.org/repos/asf/geronimo/specs/tags/${package}-${version}/"
 
 # setting timezone to avoid varying times
 TZ=Etc/UTC svn export $REPO $DIR
-GZIP=--best tar --numeric --group 0 --owner 0 -c -v -z -f $TAR $DIR
+XZ_OPT=--best tar --numeric --group 0 --owner 0 -c -v -J -f $TAR $DIR
 
 rm -rf $tarball $DIR

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



More information about the pkg-java-commits mailing list