[libjson-perl] 03/06: debian/watch: add uversionmangle

gregor herrmann gregoa at debian.org
Sun Jan 14 17:36:27 UTC 2018


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

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

commit 5040e973fc9e4fd71453a9aaea28c6afebd85096
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jan 14 18:32:07 2018 +0100

    debian/watch: add uversionmangle
    
    in case upstream goes back from 5-digit to 2-digit minor versions.
---
 debian/watch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/watch b/debian/watch
index 186f491..0da377b 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
+opts="uversionmangle=s/\.\d{2}$/$&000/" \
 https://metacpan.org/release/JSON   .*/JSON-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/libjson-perl.git



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