[med-svn] r3359 - trunk/packages/epigrass/trunk/debian

Andreas Tille tille at alioth.debian.org
Sun May 3 16:16:50 UTC 2009


Author: tille
Date: 2009-05-03 16:16:50 +0000 (Sun, 03 May 2009)
New Revision: 3359

Modified:
   trunk/packages/epigrass/trunk/debian/changelog
   trunk/packages/epigrass/trunk/debian/orig-tar.sh
   trunk/packages/epigrass/trunk/debian/watch
Log:
Make sure tarball gets '~dfsg' appended


Modified: trunk/packages/epigrass/trunk/debian/changelog
===================================================================
--- trunk/packages/epigrass/trunk/debian/changelog	2009-05-03 09:35:44 UTC (rev 3358)
+++ trunk/packages/epigrass/trunk/debian/changelog	2009-05-03 16:16:50 UTC (rev 3359)
@@ -22,8 +22,10 @@
 
   [ Andreas Tille ]
   * Added myself to Uploaders
+  * debian/watch: dversionmangle
+  * debian/orig-tar.sh: Append '~dfsg' to upstream version
 
- -- Andreas Tille <tille at debian.org>  Sun, 03 May 2009 07:39:46 +0200
+ -- Andreas Tille <tille at debian.org>  Sun, 03 May 2009 18:15:04 +0200
 
 epigrass (1.5.1-4) unstable; urgency=low
 

Modified: trunk/packages/epigrass/trunk/debian/orig-tar.sh
===================================================================
--- trunk/packages/epigrass/trunk/debian/orig-tar.sh	2009-05-03 09:35:44 UTC (rev 3358)
+++ trunk/packages/epigrass/trunk/debian/orig-tar.sh	2009-05-03 16:16:50 UTC (rev 3359)
@@ -5,7 +5,8 @@
 
 # clean up the upstream tarball
 tar -x -z -f $3
-tar -c -z -f $3 --exclude '*.pdf' $DIR
+DFSGTARBALL=`echo $3 | sed 's/\(_[0-9.b]\+\)\(.orig.tar.gz\)/\1~dfsg\2/'`
+tar -c -z -f $DFSGTARBALL --exclude '*.pdf' $DIR
 rm -rf $DIR
 
 # move to directory 'tarballs'

Modified: trunk/packages/epigrass/trunk/debian/watch
===================================================================
--- trunk/packages/epigrass/trunk/debian/watch	2009-05-03 09:35:44 UTC (rev 3358)
+++ trunk/packages/epigrass/trunk/debian/watch	2009-05-03 16:16:50 UTC (rev 3359)
@@ -1,5 +1,6 @@
 version=3
-http://pypi.python.org/packages/source/e/epigrass/epigrass-(.*).tar.gz debian debian/orig-tar.sh
+opts="dversionmangle=s/([\d.]+)/$1~dfsg/" \
+http://pypi.python.org/packages/source/e/epigrass/epigrass-(.*).tar.gz  debian debian/orig-tar.sh
 # Sources will come back on SourceForge later. In the meantime, they are there:
 # http://sf.net/epigrass/ epigrass-(.*).tar.gz \
 #  debian debian/orig-tar.sh




More information about the debian-med-commit mailing list