[ivy] 02/03: Use XZ compression for the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Apr 29 20:46:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository ivy.
commit 85ae8f551bac7445bec278f160e876bf8b4cf19f
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Apr 29 22:39:29 2015 +0200
Use XZ compression for the upstream tarball
---
debian/changelog | 1 +
debian/orig-tar.sh | 8 +++++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0e83499..d690e1d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
ivy (2.3.0-5) UNRELEASED; urgency=medium
+ * Use XZ compression for the upstream tarball
* Moved the package to Git
* Switch to debhelper level 9
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 539abd3..8442aa0 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,13 +1,15 @@
#!/bin/sh -e
# called by uscan with '--upstream-version' <version> <file>
-DIR=ivy-$2.orig
+VERSION=$2
+DIR=ivy-$VERSION.orig
+TAR=../ivy_${VERSION}.orig.tar.xz
# clean up the upstream tarball
tar -z -x -f $3
mv apache-ivy* $DIR
-tar -c -z -f $3 --exclude '*/test*' --exclude '*/doc*' $DIR
-rm -rf $DIR
+XZ_OPT=--best tar -c -J -v -f $TAR --exclude '*/test*' --exclude '*/doc*' $DIR
+rm -rf $DIR $3
# move to directory 'tarballs'
if [ -r .svn/deb-layout ]; then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ivy.git
More information about the pkg-java-commits
mailing list