[maven-debian-helper] 01/01: Use XZ compression for the upstream tarball in the generated orig-tar.sh
Emmanuel Bourg
ebourg-guest at alioth.debian.org
Wed Sep 4 15:27:19 UTC 2013
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository maven-debian-helper.
commit 032c57914668b6d56d453bb6de799c3b78695c81
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Sep 4 17:26:47 2013 +0200
Use XZ compression for the upstream tarball in the generated orig-tar.sh
---
debian/changelog | 1 +
maven-packager-utils/src/main/resources/orig-tar.svn.vm | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b7ae245..8fc2f49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ maven-debian-helper (1.6.6) UNRELEASED; urgency=low
* Fixed an IllegalArgumentException when a documentation package is not found
(Closes: #712506)
* Added a header to orig-tar.svn.vm
+ * Use XZ compression for the upstream tarball in the generated orig-tar.sh
[ Steffen Moeller ]
* Removed the trailing white space after the Homepage field
diff --git a/maven-packager-utils/src/main/resources/orig-tar.svn.vm b/maven-packager-utils/src/main/resources/orig-tar.svn.vm
index e86d2da..9d9e03a 100644
--- a/maven-packager-utils/src/main/resources/orig-tar.svn.vm
+++ b/maven-packager-utils/src/main/resources/orig-tar.svn.vm
@@ -5,12 +5,12 @@
#
VERSION=$2
-TAR=../${package}_$VERSION.orig.tar.gz
+TAR=../${package}_$VERSION.orig.tar.xz
DIR=${package}-$VERSION
TAG=$(echo "${tagMarker}$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
svn export ${baseUrl}/${TAG}${suffixUrl} $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-debian-helper.git
More information about the pkg-java-commits
mailing list