[maven-site-plugin] 33/36: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jul 17 14:03:09 UTC 2017


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

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

commit c2fa44a7b49cc0c697fc347327b6bd2d3befe91b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Jul 17 15:43:34 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 80d15ce..b0b442f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ maven-site-plugin (2.1-5) UNRELEASED; urgency=medium
   * Moved the package to Git
   * Standards-Version updated to 4.0.0
   * Switch to debhelper level 10
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 17 Jul 2017 15:38:29 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index d0c7b1d..3988da3 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -2,17 +2,10 @@
 
 set -e
 
-TAR=../maven-site-plugin_$2.orig.tar.gz
+TAR=../maven-site-plugin_$2.orig.tar.xz
 DIR=maven-site-plugin-$2
 TAG=$(echo maven-site-plugin-$2 | sed -e's,~beta,-beta-,')
 
 svn export http://svn.apache.org/repos/asf/maven/plugins/tags/$TAG $DIR
-tar -c -z -f $TAR $DIR
+XZ_OPT=--best tar -c -J -f $TAR $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-site-plugin.git



More information about the pkg-java-commits mailing list