[felix-framework] 06/06: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Apr 9 12:21:58 UTC 2014


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

ebourg-guest pushed a commit to branch master
in repository felix-framework.

commit 2e1e9e695dc48b571e166fdc5eb1bdeb7c6b6ebd
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Apr 9 14:17:48 2014 +0200

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

diff --git a/debian/changelog b/debian/changelog
index b4a61f7..73b37a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ felix-framework (4.0.1-3) UNRELEASED; urgency=medium
     - Use canonical URLs for the Vcs-* fields
     - Removed Andres Mejia from the uploaders (Closes: #743537)
   * Switch to debhelper level 9
+  * Use XZ compression for the upstream tarball
   * debian/watch: Changed the URL to find all versions
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 09 Apr 2014 13:30:17 +0200
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 59245fc..21c3227 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,14 +1,14 @@
-#!/bin/sh 
+#!/bin/sh
 
 set -x
 
 # called by uscan with '--upstream-version' <version> <file>
 package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
-TAR=../"$package"_$2.orig.tar.gz
+TAR=../"$package"_$2.orig.tar.xz
 DIR=$package-$2.orig
 
 
-tar xfz $3 
+tar xfz $3
 mv org.apache.felix.framework-$2 $DIR
-GZIP=--best tar -c -z -f $TAR $DIR
+XZ_OPT=--best tar -c -J -f $TAR $DIR
 rm -rf $DIR $3

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



More information about the pkg-java-commits mailing list