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

Mathieu Malaterre malat at alioth.debian.org
Thu Sep 12 05:18:59 UTC 2013


Author: malat
Date: 2013-09-12 05:18:57 +0000 (Thu, 12 Sep 2013)
New Revision: 17221

Modified:
   trunk/saxonhe/debian/changelog
   trunk/saxonhe/debian/orig-tar.sh
   trunk/saxonhe/debian/rules
   trunk/saxonhe/debian/watch
Log:
use dfsg mangling for clarity

Modified: trunk/saxonhe/debian/changelog
===================================================================
--- trunk/saxonhe/debian/changelog	2013-09-12 05:18:37 UTC (rev 17220)
+++ trunk/saxonhe/debian/changelog	2013-09-12 05:18:57 UTC (rev 17221)
@@ -1,4 +1,4 @@
-saxonhe (9.4.0.7-1) unstable; urgency=low
+saxonhe (9.4.0.7.dfsg-1) unstable; urgency=low
 
   * Initial release. Closes: #708214
 

Modified: trunk/saxonhe/debian/orig-tar.sh
===================================================================
--- trunk/saxonhe/debian/orig-tar.sh	2013-09-12 05:18:37 UTC (rev 17220)
+++ trunk/saxonhe/debian/orig-tar.sh	2013-09-12 05:18:57 UTC (rev 17221)
@@ -1,7 +1,7 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../saxonhe_$VERSION.orig.tar.gz
+TAR=../saxonhe_$VERSION.dfsg.orig.tar.gz
 DIR=saxonhe-$VERSION
 SRC_DIR=$DIR/src/main/java
 TAG="$VERSION"

Modified: trunk/saxonhe/debian/rules
===================================================================
--- trunk/saxonhe/debian/rules	2013-09-12 05:18:37 UTC (rev 17220)
+++ trunk/saxonhe/debian/rules	2013-09-12 05:18:57 UTC (rev 17221)
@@ -5,5 +5,6 @@
 
 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_VERSION) --force-download --rename
+	uscan --download-version $(DEB_UPSTREAM_VERSION2) --force-download --rename

Modified: trunk/saxonhe/debian/watch
===================================================================
--- trunk/saxonhe/debian/watch	2013-09-12 05:18:37 UTC (rev 17220)
+++ trunk/saxonhe/debian/watch	2013-09-12 05:18:57 UTC (rev 17221)
@@ -1,4 +1,4 @@
 version=3
-
+opts=dversionmangle=s/\.dfsg// \
 https://dev.saxonica.com/repos/archive/opensource/tags/ (\d.*)/ \
     debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list