[libcommons-collections3-java] 01/04: Use XZ compression for the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Nov 16 23:51:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libcommons-collections3-java.
commit 89dc4e76263a1af4ca6e1257e10bfb4a78fd5f0a
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Mon Nov 16 11:00:38 2015 +0100
Use XZ compression for the upstream tarball
---
debian/changelog | 7 +++++++
debian/orig-tar.sh | 23 +++++++++++------------
2 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 70023df..afaa6e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libcommons-collections3-java (3.2.1-9) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Use XZ compression for the upstream tarball
+
+ -- Emmanuel Bourg <ebourg at apache.org> Mon, 16 Nov 2015 10:58:45 +0100
+
libcommons-collections3-java (3.2.1-8) unstable; urgency=medium
* Removed the Bnd-LastModified field from the manifest
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 51e334b..f193886 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,17 +1,16 @@
#!/bin/sh -e
# called by uscan with '--upstream-version' <version> <file>
-DIR=libcommons-collections3-java.orig
-# clean up the upstream tarball
-tar -z -x -f $3
-mv commons-collections-$2-src $DIR
-tar -c -z -f $3 --exclude '*.jar' $DIR
-rm -rf $DIR
+PACKAGE=$(dpkg-parsechangelog -S Source)
+VERSION=$2
+DIR=${PACKAGE}-${VERSION}
+TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
- . .svn/deb-layout
- mv $3 $origDir
- echo "moved $3 to $origDir"
-fi
+mkdir $DIR
+tar -xf $3 --strip-components=1 -C $DIR
+rm $3
+XZ_OPT=--best tar -c -v -J -f $TAR \
+ --exclude '*.jar' \
+ $DIR
+rm -Rf $DIR
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcommons-collections3-java.git
More information about the pkg-java-commits
mailing list