[SCM] Debian packaging of dh-make-perl branch, master, updated. debian/0.75-1-1-g66e698e
Damyan Ivanov
dmn at debian.org
Wed Jan 25 13:31:02 UTC 2012
The following commit has been merged in the master branch:
commit 66e698ed368e452b4b0c3f5d817a3bf707304ce5
Author: Damyan Ivanov <dmn at debian.org>
Date: Wed Jan 25 15:29:42 2012 +0200
create_watch: allow single-digit-only versions
Closes: #657249 (bad watch file for Devel-UseAnyFunc)
Thanks to Kevin Ryde for the report and the proposed fix
diff --git a/lib/DhMakePerl/Command/make.pm b/lib/DhMakePerl/Command/make.pm
index 8af2da5..81547a9 100644
--- a/lib/DhMakePerl/Command/make.pm
+++ b/lib/DhMakePerl/Command/make.pm
@@ -464,7 +464,7 @@ sub create_watch {
my $fh = $self->_file_w($filename);
- my $version_re = 'v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)';
+ my $version_re = 'v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)';
$fh->printf( "version=3\n%s .*/%s-%s\$\n",
$self->upsurl, $self->perlname, $version_re );
--
Debian packaging of dh-make-perl
More information about the Pkg-perl-cvs-commits
mailing list