[activemq-activeio] 02/07: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sun Mar 20 21:44:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository activemq-activeio.

commit 52d6413692478fbad391a001bbe5991b0d743880
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sun Mar 20 21:58:33 2016 +0100

    Use XZ compression for the upstream tarball
---
 debian/changelog   |  1 +
 debian/orig-tar.sh | 10 ++--------
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2acca9a..5f4afb0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ activemq-activeio (3.1.1-2) unstable; urgency=medium
 
   [ Emmanuel Bourg ]
   * Updated debian/watch to catch the latest releases
+  * Use XZ compression for the upstream tarball
 
  -- Markus Koschany <apo at debian.org>  Sat, 19 Mar 2016 23:08:12 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 5a8affa..60d1427 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,16 +1,10 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../activemq-activeio_$VERSION.orig.tar.gz
+TAR=../activemq-activeio_$VERSION.orig.tar.xz
 DIR=activemq-activeio-$VERSION
 TAG=$(echo "activeio-parent-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
 
 svn export http://svn.apache.org/repos/asf/activemq/activeio/tags/${TAG}/ $DIR
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
+XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
 rm -rf $DIR ../$TAG
-
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
-  . .svn/deb-layout
-  mv $TAR $origDir && echo "moved $TAR to $origDir"
-fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/activemq-activeio.git



More information about the pkg-java-commits mailing list