[med-svn] r12697 - trunk/packages/spread-phy/trunk/debian

Andreas Tille tille at alioth.debian.org
Wed Dec 19 08:49:54 UTC 2012


Author: tille
Date: 2012-12-19 08:49:54 +0000 (Wed, 19 Dec 2012)
New Revision: 12697

Modified:
   trunk/packages/spread-phy/trunk/debian/rules
   trunk/packages/spread-phy/trunk/debian/watch
Log:
Make use of uscan from Git to make creation of orig source way more simple


Modified: trunk/packages/spread-phy/trunk/debian/rules
===================================================================
--- trunk/packages/spread-phy/trunk/debian/rules	2012-12-18 23:41:37 UTC (rev 12696)
+++ trunk/packages/spread-phy/trunk/debian/rules	2012-12-19 08:49:54 UTC (rev 12697)
@@ -17,5 +17,13 @@
 	# build.xml and .classpath seems not to be sufficient
 	CLASSPATH=$(CLASSPATH) ant jar
 
+# Remark: The following uscan command requires devscripts > 2.12.4 which is not
+#         yet released at the time of this package release.  The code can be obtained
+#         via
+#   git clone git://tille@git.debian.org/git/users/tille/devscripts.git
+#         and then use scripts/uscan.pl
 get-orig-source:
-	. debian/get-orig-source
+	mkdir -p ../tarballs
+	uscan --verbose --force-download --repack-compression xz --destdir ../tarballs
+	# use this in case you are not trusting uscan from git
+	# . debian/get-orig-source

Modified: trunk/packages/spread-phy/trunk/debian/watch
===================================================================
--- trunk/packages/spread-phy/trunk/debian/watch	2012-12-18 23:41:37 UTC (rev 12696)
+++ trunk/packages/spread-phy/trunk/debian/watch	2012-12-19 08:49:54 UTC (rev 12697)
@@ -4,5 +4,4 @@
 
 opts=dversionmangle=s/\+dfsg[0-9]*// \
 https://github.com/phylogeography/SPREAD/downloads \
-   /downloads/phylogeography/SPREAD/Spread-phy-([.\d]+)\.tar\.gz \
-  debian debian/get-orig-source
+   /downloads/phylogeography/SPREAD/Spread[-_phy]+([.\d]+)\.tar\.gz




More information about the debian-med-commit mailing list