[maven-shade-plugin] 11/24: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jan 18 12:52:37 UTC 2016


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

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

commit 02e3fd32d5d4ec6deb569db0d09ec8d9023c6b7d
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Jan 18 10:37:02 2016 +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 c44e190..f182ad4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 maven-shade-plugin (1.7.1-2) UNRELEASED; urgency=medium
 
   * Moved the package to Git
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 18 Jan 2016 10:02:58 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index b8ef095..9f077d9 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,16 +1,10 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../maven-shade-plugin_$VERSION.orig.tar.gz
+TAR=../maven-shade-plugin_$VERSION.orig.tar.xz
 DIR=maven-shade-plugin-$VERSION
 TAG=$(echo "maven-shade-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 '*.class' $DIR
+XZ_OPT==--best tar -c -J -f $TAR --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-shade-plugin.git



More information about the pkg-java-commits mailing list