[SCM] packaging libhibernate3-java branch, master, updated. debian/3.6.10.Final-1-3-g753792b

Emmanuel Bourg ebourg at apache.org
Mon Jun 24 10:49:11 UTC 2013


The following commit has been merged in the master branch:
commit 753792bb4237aae4c07633f1b72a48dd69424feb
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Jun 24 12:48:27 2013 +0200

    Install the cleaned up tarball in the parent directory

diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index aedef31..95ca9fe 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -3,14 +3,15 @@
 set -e
 
 # called by uscan with '--upstream-version' <version> <file>
-TAR=libhibernate3-java_$2.orig.tar.gz
+TAR=../libhibernate3-java_$2.orig.tar.gz
 DIR=libhibernate3-java-$2
 
 # clean up the upstream tarball
 tar zxf $3
+rm $3
 mv hibernate-distribution* $DIR
 GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
-rm -rf $DIR $3
+rm -rf $DIR
 
 # move to directory 'tarballs'
 if [ -r .svn/deb-layout ]; then
diff --git a/debian/rules b/debian/rules
index 6f2b17c..4b85a1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,4 +20,4 @@ clean::
 	-rm -rf debian/null mvn-build
 
 get-orig-source:
-	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename

-- 
packaging libhibernate3-java



More information about the pkg-java-commits mailing list