[osgi-compendium] 05/05: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Mar 12 23:45:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository osgi-compendium.

commit 505f04066c1b0716859a3b585f66c834526b7838
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Mar 13 00:39:52 2014 +0100

    Use XZ compression for the upstream tarball
---
 debian/changelog   | 1 +
 debian/orig-tar.sh | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c2b4670..f87dadb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ osgi-compendium (4.3.0-2) UNRELEASED; urgency=medium
   * Switch to debhelper level 9
   * Standards-Version updated to 3.9.5 (no changes)
   * Use canonical URLs for the Vcs-* fields
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 13 Mar 2014 00:24:28 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 00e8a8d..e93e501 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -2,7 +2,7 @@
 
 # called with '--upstream-version' <version>
 VERSION=$2
-TAR=../osgi-compendium_$VERSION.orig.tar.gz
+TAR=../osgi-compendium_$VERSION.orig.tar.xz
 DIR=osgi-compendium-$VERSION
 TAG=42
 
@@ -19,5 +19,5 @@ mv $DIR/OSGI-OPT/*.bnd $DIR/src/
 mv $DIR/META-INF $DIR/src/
 rm -r $DIR/OSGI-OPT
 
-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 osgi.compendium.jar

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/osgi-compendium.git



More information about the pkg-java-commits mailing list