[plexus-utils2] 05/05: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sun Oct 5 20:51:00 UTC 2014


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

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

commit bb71a1c12a19ad2f9a70bc1a6282b721eedb6edf
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sun Oct 5 22:48:47 2014 +0200

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

diff --git a/debian/changelog b/debian/changelog
index ba97622..78f1f41 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ plexus-utils2 (2.0.5-2) UNRELEASED; urgency=medium
     - Use canonical URLs for the Vcs-* fields
   * Switch to debhelper level 9
   * debian/copyright: Merged the duplicate Copyright fields
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Sun, 05 Oct 2014 22:38:31 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 61d7035..ce3a6ab 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,12 +1,12 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../plexus-utils2_$VERSION.orig.tar.gz
+TAR=../plexus-utils2_$VERSION.orig.tar.xz
 DIR=plexus-utils2-$VERSION
 TAG=$(echo "plexus-utils-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
 
 svn export http://svn.codehaus.org/plexus/plexus-utils/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'

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



More information about the pkg-java-commits mailing list