From: Ben Hutchings Date: Mon, 20 Aug 2007 19:33:59 +0000 (+0000) Subject: Added uscan watch-file. X-Git-Tag: 2.11+2.111-1~22 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=maypole.git;a=commitdiff_plain;h=d6b3c47bfb7ad312db4aa93dd5cba4b8f160aaf5 Added uscan watch-file. --- diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..e7e2c2b --- /dev/null +++ b/debian/watch @@ -0,0 +1,7 @@ +version=3 +# Versions appear to be decimal, so when there are three digits in the +# minor number prepend the version truncated to two minor digits. +# Change pre-release versions to Debian format. +opts="uversionmangle=s/^(\d+\.\d\d)\d(?:_|$)/$1+$&/; s/_pre/~pre/" \ +http://search.cpan.org/~teejay/Maypole/ \ +/CPAN/authors/id/T/TE/TEEJAY/Maypole-([\w.]+)\.tar\.gz