[geronimo-validation-1.1-spec] 16/24: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Sep 28 21:39:15 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository geronimo-validation-1.1-spec.

commit 7a7583267cea178bebdfe2b881787ad29ed0fb1a
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Sep 28 21:16:40 2017 +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 c3a70a8..0374c2b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ geronimo-validation-1.0-spec (1.1-3) UNRELEASED; urgency=medium
   [ Emmanuel Bourg ]
   * Standards-Version updated to 4.1.0
   * Added the Homepage field
+  * Use XZ compression for the upstream tarball
 
  -- Miguel Landaeta <nomadium at debian.org>  Sun, 06 Aug 2017 20:20:22 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index dad28ca..c1e4526 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
 upstream_package="$(echo $package | sed 's/-1\.0-spec/_1.0_spec/')"
 REPO="http://svn.apache.org/repos/asf/geronimo/specs/tags/${upstream_package}-${version}/"
 
 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-validation-1.1-spec.git



More information about the pkg-java-commits mailing list