[SCM] Debian packaging of dh-make-perl branch, master, updated. debian/0.76-1-28-g7624162
Axel Beckert
abe at deuxchevaux.org
Wed Mar 6 17:27:44 UTC 2013
The following commit has been merged in the master branch:
commit 3733118846f2ca938558ea28030c6172cd61fe86
Author: Matthew Gabeler-Lee <cheetah at fastcat.org>
Date: Wed Mar 6 18:19:39 2013 +0100
understand packages named -vX.Y.Z
diff --git a/lib/DhMakePerl/Command/make.pm b/lib/DhMakePerl/Command/make.pm
index 1f2bbce..cbbfde0 100644
--- a/lib/DhMakePerl/Command/make.pm
+++ b/lib/DhMakePerl/Command/make.pm
@@ -272,7 +272,7 @@ sub setup_dir {
}
elsif ( $dist = find_cpan_distribution( $self->cfg->cpan ) ) {
my $ver;
- if ( $dist->base_id =~ /-(\d[\d._]*)\./ ) {
+ if ( $dist->base_id =~ /-v?(\d[\d._]*)\./ ) {
$self->mod_cpan_version($1);
}
else {
--
Debian packaging of dh-make-perl
More information about the Pkg-perl-cvs-commits
mailing list