[dh-make-perl] 03/03: use the separate module→pkg name routine in the fallback case
Damyan Ivanov
dmn at alioth.debian.org
Thu Aug 8 15:44:23 UTC 2013
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository dh-make-perl.
commit 3204aa1e5072d826cbe2896b60f47ed930126de4
Author: Damyan Ivanov <dmn at debian.org>
Date: Thu Aug 8 17:05:45 2013 +0200
use the separate module→pkg name routine in the fallback case
---
lib/Debian/Control/FromCPAN.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Debian/Control/FromCPAN.pm b/lib/Debian/Control/FromCPAN.pm
index 77e2a69..f1b475a 100644
--- a/lib/Debian/Control/FromCPAN.pm
+++ b/lib/Debian/Control/FromCPAN.pm
@@ -347,7 +347,7 @@ sub find_debs_for_modules {
my $mod = find_cpan_module($module);
if ( $mod and $mod->distribution ) {
( my $dist = $mod->distribution->base_id ) =~ s/-v?\d[^-]*$//;
- my $pkg = 'lib' . lc($dist) . '-perl';
+ my $pkg = $self->module_name_to_pkg_name($dist);
print " CPAN contains it in $dist\n";
print " substituting package name of $pkg\n";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git
More information about the Pkg-perl-cvs-commits
mailing list