[libquartz2-java] 61/63: Simplified debian/orig-tar.sh
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Apr 14 10:32:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libquartz2-java.
commit 930820bd768d2a4883e64ff66b0da40ce7e00d13
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Apr 12 13:50:49 2016 +0200
Simplified debian/orig-tar.sh
---
debian/orig-tar.exclude | 4 ----
debian/orig-tar.sh | 10 +++++-----
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/debian/orig-tar.exclude b/debian/orig-tar.exclude
deleted file mode 100644
index 4a7ac23..0000000
--- a/debian/orig-tar.exclude
+++ /dev/null
@@ -1,4 +0,0 @@
-*.jar
-*/docs/*
-*/lib/*
-.settings
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index b9dd5a0..9b79e4b 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,12 +1,12 @@
#!/bin/sh -e
# called by uscan with '--upstream-version' <version> <file>
-SVN=http://svn.terracotta.org/svn/quartz/tags
+PACKAGE=$(dpkg-parsechangelog -S Source)
VERSION=$2
-TAR=../libquartz2-java_$VERSION.orig.tar.xz
-DIR=libquartz2-java-$VERSION.orig
+TAR=../${PACKAGE}_${VERSION}.orig.tar.xz
+DIR=${PACKAGE}-${VERSION}
# clean up the upstream tarball
-svn export $SVN/quartz-$VERSION $DIR
-XZ_OPT=--best tar -c -J -v -f $TAR -X debian/orig-tar.exclude $DIR
+svn export http://svn.terracotta.org/svn/quartz/tags/quartz-${VERSION} $DIR
+XZ_OPT=--best tar -c -J -v -f $TAR --exclude '.settings' --exclude '*.jar' --exclude '*/docs/*' $DIR
rm -rf $3 $DIR
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libquartz2-java.git
More information about the pkg-java-commits
mailing list