[libmath-bigint-perl] 01/07: debian/watch: add uversionmangle

gregor herrmann gregoa at debian.org
Sun Sep 13 15:16:41 UTC 2015


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

gregoa pushed a commit to branch master
in repository libmath-bigint-perl.

commit 957b32d839d74eb21692779d8e0dd2f1db466260
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Sep 13 17:08:10 2015 +0200

    debian/watch: add uversionmangle
    
    in case upstream uses less then 6 digits for minor versions in the future.
---
 debian/watch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/watch b/debian/watch
index ed2b1d4..155f668 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
+opts="uversionmangle=s/\.\d{5}$/$&0/;s/\.\d{4}$/$&00/;s/\.\d{3}$/$&000/;s/\.\d{2}$/$&0000/" \
 https://metacpan.org/release/Math-BigInt   .*/Math-BigInt-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/libmath-bigint-perl.git



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