[libaxiom-java] 14/21: Use XZ compression for the ustream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Mar 24 10:34:40 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository libaxiom-java.

commit 1388b52c640b35693c9039eba809814d71c58105
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Mar 24 10:07:07 2016 +0100

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

diff --git a/debian/changelog b/debian/changelog
index cf336b2..f73a127 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ libaxiom-java (1.2.8-2) UNRELEASED; urgency=medium
   * Switch to debhelper level 9
   * Switch to source format 3.0 (quilt)
   * Updated debian/watch
+  * Use XZ compression for the ustream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 24 Mar 2016 09:17:12 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
old mode 100644
new mode 100755
index 680fb21..7639938
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,18 +1,11 @@
 #!/bin/sh -e
 
-# $1 = version
-TAR=../libaxiom-java_$2.orig.tar.gz
-DIR=libaxiom-java-$2.orig
+PACKAGE=$(dpkg-parsechangelog -S Source)
+VERSION=$2
+DIR=${PACKAGE}-${VERSION}
+TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
 
 # clean up the upstream tarball
-svn export  http://svn.apache.org/repos/asf/webservices/axiom/tags/$2/ $DIR
-GZIP=--best tar -c -z -f $TAR $DIR
-rm -rf $DIR
-rm ../$2
-
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
-  . .svn/deb-layout
-  mv $TAR $origDir
-  echo "moved $TAR to $origDir"
-fi
+svn export http://svn.apache.org/repos/asf/webservices/axiom/tags/$2/ $DIR
+XZ_OPT=--best tar -c -J -f $TAR $DIR
+rm -rf $DIR $3

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



More information about the pkg-java-commits mailing list