[jasperreports] 01/09: Increased the compression level for the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri Jul 29 06:54:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository jasperreports.
commit 3badeaace701f16247de41efbd84c409ca1e4edb
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Jul 28 15:22:59 2016 +0200
Increased the compression level for the upstream tarball
---
debian/changelog | 1 +
debian/orig-tar.sh | 19 +++++++------------
2 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a9a3af7..3a8a7b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ jasperreports (6.1.1+dfsg-7) UNRELEASED; urgency=medium
* Team upload.
* Build with maven-debian-helper
+ * Increased the compression level for the upstream tarball
-- Emmanuel Bourg <ebourg at apache.org> Mon, 25 Jul 2016 10:55:11 +0200
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 123e3d9..ffe0618 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -2,18 +2,13 @@
# $2 = version
# $3 = file
-DIR=jasperreports-$2.orig
-TAR=jasperreports_$2+dfsg.orig.tar.xz
+PACKAGE=$(dpkg-parsechangelog -S Source)
+VERSION=$2
+DIR=${PACKAGE}-${VERSION}
+TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
# clean up the upstream tarball
-tar zxf $3
-mv jasperreports* $DIR
-GZIP=--best tar caf $TAR -X debian/orig-tar.exclude $DIR
+mkdir $DIR
+tar -xf $3 --strip-components=2 -C $DIR
+XZ_OPT=--best tar cvJf $TAR -X debian/orig-tar.exclude $DIR
rm -rf $DIR
-
-# 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/jasperreports.git
More information about the pkg-java-commits
mailing list