[libhtml-formfu-perl] 01/02: Add option to mangle upstream version in debian/watch file

Salvatore Bonaccorso carnil at debian.org
Mon Dec 23 18:41:05 UTC 2013


This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to branch master
in repository libhtml-formfu-perl.

commit 0a0ec4973f30d627133f7f5e7bd5900e98e69c68
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Mon Dec 23 19:33:32 2013 +0100

    Add option to mangle upstream version in debian/watch file
---
 debian/watch | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/watch b/debian/watch
index a843a5a..0b01c70 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
-# format version number, currently 3; this line is compulsory!
 version=3
-# URL to the package page followed by a regex to search
+opts="uversionmangle=s/(\.\d\d)$/${1}000/; s/(\.\d\d\d)$/${1}00/; s/(\.\d\d\d\d)$/${1}0/;" \
 https://metacpan.org/release/HTML-FormFu/   .*/HTML-FormFu-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-formfu-perl.git



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