[stax-ex] 01/02: use xz compression, add more files to filter
Timo Aaltonen
tjaalton-guest at moszumanska.debian.org
Sat Jan 18 07:00:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton-guest pushed a commit to branch master
in repository stax-ex.
commit fbac38eb054323973025b75613cce630be2cfd36
Author: Timo Aaltonen <tjaalton at ubuntu.com>
Date: Sat Jan 18 08:58:53 2014 +0200
use xz compression, add more files to filter
---
debian/orig-tar.sh | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 439819f..bb97753 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,12 +1,20 @@
#!/bin/sh -e
VERSION=$2
-TAR=../stax-ex_$VERSION.orig.tar.gz
+TAR=../stax-ex_$VERSION.orig.tar.xz
DIR=stax-ex-$VERSION
TAG=$(echo "stax-ex-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
svn export https://svn.java.net/svn/stax-ex~svn/tags/${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' \
+ --exclude '*.ipr' \
+ --exclude '*.iml' \
+ --exclude '.settings' \
+ --exclude '.project' \
+ --exclude '.classpath' \
+ $DIR
rm -rf $DIR ../$TAG
# move to directory 'tarballs'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/stax-ex.git
More information about the pkg-java-commits
mailing list