[maven-source-plugin] 11/20: Use XZ compression when generating the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Dec 9 22:23:02 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository maven-source-plugin.

commit 189c2f154c3d382952ccc39c3f7bfca165047aa7
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Sep 4 15:09:46 2013 +0000

    Use XZ compression when generating 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 5bde425..4f99d5b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ maven-source-plugin (2.1.2-1) unstable; urgency=low
     - Wrap and sort the dependencies
   * debian/copyright: Updated the Format URI to 1.0
   * debian/watch: Updated to catch the latest 2.x versions
+  * debian/orig-tar.sh: Use XZ compression when generating the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 04 Sep 2013 16:19:32 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 061a427..74fb6d7 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,12 +1,12 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../maven-source-plugin_$VERSION.orig.tar.gz
+TAR=../maven-source-plugin_$VERSION.orig.tar.xz
 DIR=maven-source-plugin-$VERSION
 TAG=$(echo "maven-source-plugin-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
 
 svn export http://svn.apache.org/repos/asf/maven/plugins/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/maven-source-plugin.git



More information about the pkg-java-commits mailing list