r46053 - /trunk/libdbd-csv-perl/debian/watch

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Oct 18 21:30:38 UTC 2009


Author: jawnsy-guest
Date: Sun Oct 18 21:30:32 2009
New Revision: 46053

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=46053
Log:
Update watch with uversionmangle to pad zeroes; this looks like it works for all versions available via CPAN

Modified:
    trunk/libdbd-csv-perl/debian/watch

Modified: trunk/libdbd-csv-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/debian/watch?rev=46053&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/debian/watch (original)
+++ trunk/libdbd-csv-perl/debian/watch Sun Oct 18 21:30:32 2009
@@ -1,10 +1,4 @@
 version=3
-
-# this is so weird, because upstream has releases
-#   0.2001, 0.2002, 0.21 and 0.22
-# with uversinnmanlge we make 0.2001 to be 0.20.01
-# with dversionmangle we make 0.2200 to be 0.22
-# this should catch new upstream as 0.2201 (converted to 0.22.01, still later
-# than 0.22) as well as 0.23
-opts=uversionmangle=s/(?<=^0\.\d\d)(?=\d\d$)/./,dversionmangle=s/00$// \
-http://search.cpan.org/dist/DBD-CSV/   .*/DBD-CSV-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
+opts="uversionmangle=s/\.\d\d\d$/$&0/;s/\.\d\d$/$&00/;s/\.\d$/$&000/" \
+	http://search.cpan.org/dist/DBD-CSV/ \
+	.*/DBD-CSV-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)




More information about the Pkg-perl-cvs-commits mailing list