[maven-ejb-plugin] 11/15: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Dec 9 13:11:25 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-ejb-plugin.

commit 58744edb5a467ffc3570394dfad6bfaaa0aa0655
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Dec 9 13:58:30 2015 +0100

    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 bec7e23..d8f7550 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ maven-ejb-plugin (2.2-3) UNRELEASED; urgency=medium
   * debian/control:
     - Standards-Version updated to 3.9.6 (no changes)
   * Moved the package to Git
+  * Use XZ compression for the upstream tarball
   * Switch to debhelper level 9
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 09 Dec 2015 13:44:49 +0100
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index cd68eb4..1b5625a 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,10 +1,10 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../maven-ejb-plugin_$VERSION.orig.tar.gz
+TAR=../maven-ejb-plugin_$VERSION.orig.tar.xz
 DIR=maven-ejb-plugin-$VERSION
 TAG=$(echo "maven-ejb-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

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



More information about the pkg-java-commits mailing list