[maven-bundle-plugin] 04/04: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Jan 21 23:46:44 UTC 2014


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

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

commit b1abdec3ccb646276798d5b96cf83d9b645bc51f
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Jan 22 00:29:00 2014 +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 c9a68d8..cd81d66 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ maven-bundle-plugin (2.3.5-2) UNRELEASED; urgency=medium
     - Use canonical URLs for the Vcs-* fields
   * debian/copyright: Updated the Format URI to 1.0
   * Switch to debhelper level 9
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 22 Jan 2014 00:19:59 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 016ed2a..3ef1642 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,12 +1,12 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../maven-bundle-plugin_$VERSION.orig.tar.gz
+TAR=../maven-bundle-plugin_$VERSION.orig.tar.xz
 DIR=maven-bundle-plugin-$VERSION
 TAG=$(echo "maven-bundle-plugin-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
 
 svn export https://svn.apache.org/repos/asf/felix/releases/${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-bundle-plugin.git



More information about the pkg-java-commits mailing list