[lucene-solr] 01/03: Use XZ compression for the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Dec 23 20:30:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository lucene-solr.
commit 650af567c3e90d5c57601d7e68cec3a179b2201f
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Dec 23 21:26:26 2014 +0100
Use XZ compression for the upstream tarball
---
debian/changelog | 7 +++++++
debian/orig-tar.sh | 9 ++++-----
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9d3a47b..04ad67c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+lucene-solr (3.6.2+dfsg-6) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Use XZ compression for the upstream tarball
+
+ -- Emmanuel Bourg <ebourg at apache.org> Thu, 13 Nov 2014 11:52:20 +0100
+
lucene-solr (3.6.2+dfsg-5) unstable; urgency=medium
* Team upload.
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 527f519..16e0141 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,13 +1,13 @@
#/bin/sh -e
VERSION=$2
-TAR=../lucene-solr_$VERSION.orig.tar.gz
-NEWTAR=../lucene-solr_$VERSION+dfsg.orig.tar.gz
+TAR=../lucene-solr_$VERSION.orig.tar.xz
DIR=lucene-solr-$VERSION
mkdir -p $DIR
# Unpack ready fo re-packing
-tar -xzf $TAR -C $DIR --strip-components=1
+tar -xzf $3 -C $DIR --strip-components=1
+rm $3
# Clean up tarball
find $DIR -name \*.jar -delete
@@ -20,7 +20,6 @@ rm -Rf $DIR/lucene/contrib/facet/src/java/org/apache/lucene/facet/doc-files/pret
fgrep -lR "Generated By:JavaCC:" $DIR | xargs -n5 rm
# Repack excluding stuff we don't need
-GZIP=--best tar -czf $NEWTAR $DIR
+XZ_OPT=--best tar -cJf $TAR $DIR
rm -rf $DIR
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene-solr.git
More information about the pkg-java-commits
mailing list