[pkg-java] r17736 - trunk/saxonhe/debian

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Feb 4 13:55:52 UTC 2014


Author: eugene-guest
Date: 2014-02-04 13:55:52 +0000 (Tue, 04 Feb 2014)
New Revision: 17736

Modified:
   trunk/saxonhe/debian/orig-tar.sh
   trunk/saxonhe/debian/rules
Log:
d/orig-tar.sh improved to use .xz instead of .gz archiving

Modified: trunk/saxonhe/debian/orig-tar.sh
===================================================================
--- trunk/saxonhe/debian/orig-tar.sh	2014-02-02 19:22:32 UTC (rev 17735)
+++ trunk/saxonhe/debian/orig-tar.sh	2014-02-04 13:55:52 UTC (rev 17736)
@@ -1,17 +1,10 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../saxonhe_$VERSION.dfsg.orig.tar.gz
+TAR=../saxonhe_$VERSION.dfsg.orig.tar.xz
 DIR=saxonhe-$VERSION
-SRC_DIR=$DIR/src/main/java
 TAG="$VERSION"
 
-svn export https://www.saxonica.co.uk/repos/archive/opensource/tags/${TAG}/hej/ $SRC_DIR
-tar -c -z -f $TAR --exclude 'net/sf/saxon/dotnet' --exclude 'net/sf/saxon/option' --exclude 'javax' --exclude 'net/sf/saxon/xqj' $SRC_DIR
+svn -q export https://www.saxonica.co.uk/repos/archive/opensource/tags/${TAG}/hej/net $DIR/src/main/java/net
+XZ_OPT=--best tar cJf $TAR --exclude 'sf/saxon/dotnet' --exclude 'sf/saxon/option' --exclude 'sf/saxon/xqj' $DIR
 rm -rf $DIR ../$TAG
-
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
-  . .svn/deb-layout
-  mv $TAR $origDir && echo "moved $TAR to $origDir"
-fi

Modified: trunk/saxonhe/debian/rules
===================================================================
--- trunk/saxonhe/debian/rules	2014-02-02 19:22:32 UTC (rev 17735)
+++ trunk/saxonhe/debian/rules	2014-02-04 13:55:52 UTC (rev 17736)
@@ -5,6 +5,5 @@
 
 JAVA_HOME := /usr/lib/jvm/default-java
 
-DEB_UPSTREAM_VERSION2 := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/.dfsg//')
 get-orig-source:
-	uscan --download-version $(DEB_UPSTREAM_VERSION2) --force-download --rename
+	uscan --download-current-version --force-download --rename




More information about the pkg-java-commits mailing list