[zookeeper] 04/10: Use XZ compression for the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jan 26 12:44:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository zookeeper.
commit 9b6bbaaa20828649e7096867e7571e5e8ba33cc1
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Mon Jan 26 11:50:49 2015 +0100
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 0e3d9e4..35e6e37 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ zookeeper (3.4.6+dfsg-1) UNRELEASED; urgency=medium
* debian/orig-tar.sh:
- Removed src/contrib/loggraph from the upstream tarball since it isn't used
and is missing the source of a minimized JavaScript file (yui-min.js)
+ - Use XZ compression for the upstream tarball
-- James Page <james.page at ubuntu.com> Tue, 25 Mar 2014 09:41:18 +0000
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 3986d2d..724723b 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -2,7 +2,7 @@
VERSION=$2
TAR=../zookeeper_$VERSION.orig.tar.gz
-NEWTAR=../zookeeper_$VERSION+dfsg.orig.tar.bz2
+NEWTAR=../zookeeper_$VERSION+dfsg.orig.tar.xz
DIR=zookeeper-$VERSION
mkdir -p $DIR
@@ -10,7 +10,8 @@ mkdir -p $DIR
tar -xzf $TAR -C $DIR --strip-components=1
# Repack excluding stuff we don't need
-GZIP=--best tar -cjf $NEWTAR --exclude '*.jar' \
+XZ_OPT=--best tar -cJf $NEWTAR \
+ --exclude '*.jar' \
--exclude "Makefile.in" \
--exclude "aclocal.m4" \
--exclude "autom4te.cache" \
@@ -27,6 +28,7 @@ GZIP=--best tar -cjf $NEWTAR --exclude '*.jar' \
--exclude "zookeeper-${VERSION}/src/contrib/loggraph" \
--exclude "zookeeper-${VERSION}/src/c/generated" \
--exclude "zookeeper-${VERSION}/src/java/main/org/apache/jute/compiler/generated/*.java" \
- --exclude "zookeeper-${VERSION}/src/java/generated" $DIR
+ --exclude "zookeeper-${VERSION}/src/java/generated" \
+ $DIR
rm -rf $DIR $TAR
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/zookeeper.git
More information about the pkg-java-commits
mailing list