[libxbean-java] 03/08: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Sep 29 10:21:35 UTC 2014


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

ebourg-guest pushed a commit to branch master
in repository libxbean-java.

commit 39fe88b36f1bc6adc52cf1fd80a870603d994a98
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Sep 29 00:26:54 2014 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 9b77fd7..690728c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ libxbean-java (3.7-7) UNRELEASED; urgency=medium
   * Standards-Version updated to 3.9.6 (no changes)
   * Switch to debhelper level 9
   * Moved the package to Git
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Sun, 28 Sep 2014 16:22:04 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 05632f0..a220661 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,12 +1,12 @@
 #!/bin/sh -e
 
-TAR=../libxbean-java_$2.orig.tar.gz
+TAR=../libxbean-java_$2.orig.tar.xz
 DIR=xbean-$2
 TAG=xbean-$2
 
 svn export http://svn.apache.org/repos/asf/geronimo/xbean/tags/$TAG $DIR
-tar -c -z -f $TAR $DIR
-rm -rf $DIR ../$TAG
+XZ_OPT=--best tar -c -J -f $TAR $DIR
+rm -rf $DIR ../$TAG $3
 
 # move to directory 'tarballs'
 if [ -r .svn/deb-layout ]; then
diff --git a/debian/rules b/debian/rules
index 41d141d..c7acf39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,4 +11,4 @@ include debian/rules.full
 endif
 
 get-orig-source:
-	uscan --download-version $(VERSION) --force-download --rename
+	uscan --download-current-version --force-download --no-symlink

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



More information about the pkg-java-commits mailing list