[maven-ear-plugin] 13/17: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Dec 9 14:09:47 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-ear-plugin.

commit 169f9a58deea926235526b3a49a09102cff3db92
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Dec 9 14:55:39 2015 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 5e0f990..57beef4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ maven-ear-plugin (2.3.2-4) UNRELEASED; urgency=low
   * debian/copyright: Updated the Format URI
   * Moved the package to Git
   * Build with the DH sequencer instead of CDBS
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Sun, 24 Nov 2013 12:23:35 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index fb294f3..379e2b0 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,16 +1,10 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../maven-ear-plugin_$VERSION.orig.tar.gz
+TAR=../maven-ear-plugin_$VERSION.orig.tar.xz
 DIR=maven-ear-plugin-$VERSION
 TAG=$(echo "maven-ear-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'
-if [ -r .svn/deb-layout ]; then
-  . .svn/deb-layout
-  mv $TAR $origDir && echo "moved $TAR to $origDir"
-fi

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



More information about the pkg-java-commits mailing list