[serp] 03/09: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri May 29 15:31:56 UTC 2015


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

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

commit 95cf09d072e75171fb2d06bdd61db1251a0004f3
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri May 29 17:19:44 2015 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 54107c0..8977e5a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ serp (1.14.1-3) UNRELEASED; urgency=medium
 
   * Team upload.
   * Standards-Version updated to 3.9.6 (no changes)
+  * Use XZ compression for the upstream tarball
   * Switch to debhelper level 9
 
  -- Emmanuel Bourg <ebourg at apache.org>  Fri, 29 May 2015 17:08:26 +0200
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index e7987de..84f1540 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -7,7 +7,7 @@ echo "version $2"
 package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
 version=$2
 tarball=$3
-TAR=${package}_${version}.orig.tar.gz
+TAR=../${package}_${version}.orig.tar.xz
 DIR=${package}-${version}.orig
 UPSTREAM_CVS_REPO="pserver:anonymous at serp.cvs.sourceforge.net:/cvsroot/serp"
 
@@ -16,9 +16,9 @@ UPSTREAM_CVS_REPO="pserver:anonymous at serp.cvs.sourceforge.net:/cvsroot/serp"
 
 cvs -d:"${UPSTREAM_CVS_REPO}" login
 cvs -z3 -d:"${UPSTREAM_CVS_REPO}" export \
-    -r "${package}-$(echo $version | sed 's/\./_/g')" \
+    -r "${package}_$(echo $version | sed 's/\./_/g')" \
     -d "${package}-${version}.orig" $package
 
-GZIP=--best tar --numeric --group 0 --owner 0 -c -v -z -f $TAR $DIR
+XZ_OPT=--best tar --numeric --group 0 --owner 0 -c -v -J -f $TAR $DIR
 
 rm -rf $tarball $DIR

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



More information about the pkg-java-commits mailing list