[eclipselink] 06/07: Use XZ compression for the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Jul 19 09:36:52 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository eclipselink.
commit 0bc6afbf0a967827acd2d0a667f67e7091ad4c53
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Jul 19 11:29:49 2016 +0200
Use XZ compression for the upstream tarball
---
debian/changelog | 1 +
debian/orig-tar.sh | 12 ++++++------
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2a62442..1717e7f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ eclipselink (2.5.1-4) UNRELEASED; urgency=medium
* Standards-Version updated to 3.9.8
* Switch to debhelper level 9
* Use secure Vcs-* URLs
+ * Use XZ compression for the upstream tarball
-- Emmanuel Bourg <ebourg at apache.org> Tue, 19 Jul 2016 11:21:21 +0200
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index dbb3f88..3c5ce69 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,15 +1,15 @@
-#!/bin/sh
+#!/bin/sh
set -e
# called by uscan with '--upstream-version' <version> <file>
echo "version $2"
-package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
-version=$2
+PACKAGE=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
+VERSION=$2
tarball=$3
-TAR=${package}_${version}.orig.tar.gz
-DIR=${package}-${version}.orig
+TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
+DIR=${PACKAGE}-${VERSION}.orig
unzip $tarball -d $DIR
-GZIP=--best tar --numeric --group 0 --owner 0 -c -v -z -f $TAR $DIR
+XZ_OPT=--best tar --numeric --group 0 --owner 0 -c -v -J -f $TAR $DIR
rm -rf $tarball $DIR
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/eclipselink.git
More information about the pkg-java-commits
mailing list