[junit4] 01/02: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Apr 27 12:21: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 junit4.

commit a166023a5d777f7028f2be37503298b736b6b8fa
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Apr 27 14:17:20 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 5ac5adf..c3c7d7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 junit4 (4.11-4) UNRELEASED; urgency=medium
 
   * Moved the package to Git
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 27 Apr 2015 13:00:56 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index e579080..4cd841c 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -3,7 +3,7 @@
 # called by uscan with '--upstream-version' <version> <file>
 VERSION=$2
 DIR=junit4-$VERSION
-TAR=../junit4_$VERSION.orig.tar.gz
+TAR=../junit4_$VERSION.orig.tar.xz
 ORIG_TAR=$3
 
 #rm -f $3
@@ -14,7 +14,7 @@ mkdir $DIR
 tar -x -v -z -f $ORIG_TAR
 rm $ORIG_TAR
 find . -maxdepth 2 -wholename "./junit-*/*" -exec mv '{}' $DIR \;
-GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
+XZ_OPT=--best tar -c -J -f $TAR -X debian/orig-tar.exclude $DIR
 rm -rf $DIR junit-*
 
 # move to directory 'tarballs'

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



More information about the pkg-java-commits mailing list