[felix-bundlerepository] 03/06: Use XZ compression for the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Jun 22 21:37:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository felix-bundlerepository.
commit 98be9bbd9aa2b9f9d9a0fbb86178447f8aa27352
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Jun 22 22:03:05 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 d6f45d4..4da7f02 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ felix-bundlerepository (2.0.8-2) UNRELEASED; urgency=medium
* Team upload.
* Standards-Version updated to 4.0.0
* Switch to debhelper level 10
+ * Use XZ compression for the upstream tarball
-- Emmanuel Bourg <ebourg at apache.org> Thu, 22 Jun 2017 22:01:48 +0200
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index c2a4576..3ca10e4 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,16 +1,10 @@
#!/bin/sh -e
VERSION=$2
-TAR=../felix-bundlerepository_$VERSION.orig.tar.gz
+TAR=../felix-bundlerepository_$VERSION.orig.tar.xz
DIR=felix-bundlerepository-$VERSION
TAG=$(echo "org.apache.felix.bundlerepository-$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'
-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/felix-bundlerepository.git
More information about the pkg-java-commits
mailing list