Author: tille
Date: 2011-02-07 21:46:23 +0000 (Mon, 07 Feb 2011)
New Revision: 5926

Modified:
   trunk/packages/figtree/trunk/debian/get-orig-source
Log:
Really get the properly versioned upstream tarball also when calling without 
uscan


Modified: trunk/packages/figtree/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/figtree/trunk/debian/get-orig-source 2011-02-07 21:39:47 UTC 
(rev 5925)
+++ trunk/packages/figtree/trunk/debian/get-orig-source 2011-02-07 21:46:23 UTC 
(rev 5926)
@@ -6,7 +6,7 @@
 PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
 
 if ! echo $@ | grep -q upstream-version ; then
-    VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }'`
+    VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 
's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
 else
     VERSION=`echo $@ | sed 's?^.*--upstream-version \([0-9.]\+\) 
.*download.html.*?\1?'`
     if echo "$VERSION" | grep -q "upstream-version" ; then


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit

Reply via email to