[eigenbase-farrago] 08/09: Use XZ compression for the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Jul 28 09:34:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository eigenbase-farrago.
commit d10fb7a9c1c7460c68dfa1e6bebc02cb9d525523
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Jul 28 11:29:58 2016 +0200
Use XZ compression for the upstream tarball
---
debian/changelog | 1 +
debian/orig-tar.sh | 9 +++++----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1a64ae0..975f013 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ eigenbase-farrago (0.9.0-1.1) UNRELEASED; urgency=medium
* Switch to debhelper level 9
* Switch to source format 3.0 (quilt)
* Converted debian/copyright to the Copyright Format 1.0
+ * Use XZ compression for the upstream tarball
-- Emmanuel Bourg <ebourg at apache.org> Thu, 28 Jul 2016 10:09:07 +0200
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index e6d9a67..b89df76 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,12 +1,13 @@
#!/bin/sh -e
# called by uscan with '--upstream-version' <version> <file>
-DIR=eigenbase-farrago-$2
-TAR=eigenbase-farrago_$2.orig.tar.gz
+PACKAGE=$(dpkg-parsechangelog -S Source)
+VERSION=$2
+DIR=${PACKAGE}-${VERSION}
+TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
# Repack upstream source to tar.gz
tar xjf $3
mv farrago-* $DIR
-GZIP=--best tar czf $TAR -X debian/orig-tar.exclude $DIR
+XZ_OPT=--best tar cJf $TAR -X debian/orig-tar.exclude $DIR
rm -rf $DIR
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/eigenbase-farrago.git
More information about the pkg-java-commits
mailing list