[SCM] Debian native package for Config::Model::Dpkg branch, master, updated. debian/2.032-6-g4059085
Dominique Dumont
dod at debian.org
Fri Jan 25 18:36:00 UTC 2013
The following commit has been merged in the master branch:
commit e15ab142ddd9fbfed2781068ceb8e6550bcd6742
Author: Dominique Dumont <dod at debian.org>
Date: Fri Jan 25 19:35:23 2013 +0100
bail out of of check_perl_lib_dep if the version contains a variable (Closes: #698876)
diff --git a/lib/Config/Model/Dpkg/Dependency.pm b/lib/Config/Model/Dpkg/Dependency.pm
index 4487e05..e12cbc0 100644
--- a/lib/Config/Model/Dpkg/Dependency.pm
+++ b/lib/Config/Model/Dpkg/Dependency.pm
@@ -321,8 +321,10 @@ sub check_perl_lib_dep {
my @dep_name_as_perl = Module::CoreList->find_modules(qr/^$pname$/i) ;
return $ret unless @dep_name_as_perl;
+ return $ret if $dep_v =~ m/^\$/ ;
+
my ($cpan_dep_v, $epoch_dep_v) ;
- ($cpan_dep_v, $epoch_dep_v) = reverse split /:/ ,$dep_v if defined $dep_v && $dep_v !~ m/^\$/ ;
+ ($cpan_dep_v, $epoch_dep_v) = reverse split /:/ ,$dep_v if defined $dep_v ;
my $v_decimal = Module::CoreList->first_release(
$dep_name_as_perl[0],
version->parse( $cpan_dep_v )
--
Debian native package for Config::Model::Dpkg
More information about the Pkg-perl-cvs-commits
mailing list