[maven-shared-io] 19/28: Use XZ compression for the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Jul 19 17:19:43 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-shared-io.
commit 74f4fffd3497545349e90d7b466a316422984655
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Jul 19 17:58:04 2017 +0200
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 4a1aefe..f7b031c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ maven-shared-io (1.1-5) UNRELEASED; urgency=medium
* Switch to debhelper level 9
* debian/copyright: Updated the Format URI
* Moved the package to Git
+ * Use XZ compression for the upstream tarball
-- Emmanuel Bourg <ebourg at apache.org> Mon, 20 Jan 2014 10:26:35 +0100
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 74a5ee9..0ea6cae 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,16 +1,10 @@
#!/bin/sh -e
VERSION=$2
-TAR=../maven-shared-io_$VERSION.orig.tar.gz
+TAR=../maven-shared-io_$VERSION.orig.tar.xz
DIR=maven-shared-io-$VERSION
TAG=$(echo "maven-shared-io-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
svn export http://svn.apache.org/repos/asf/maven/shared/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-shared-io.git
More information about the pkg-java-commits
mailing list