[dh-make-perl] 01/01: silence a warning when reporting about a core-satisfied dependency without a version

Damyan Ivanov dmn at alioth.debian.org
Sat Aug 10 12:04:50 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 31b4c6ab59fc04ac6bc7780756fe29b405286b77
Author: Damyan Ivanov <dmn at debian.org>
Date:   Sat Aug 10 14:04:41 2013 +0200

    silence a warning when reporting about a core-satisfied dependency without a version
---
 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 bc63605..ca7d542 100644
--- a/lib/Debian/Control/FromCPAN.pm
+++ b/lib/Debian/Control/FromCPAN.pm
@@ -300,7 +300,7 @@ sub find_debs_for_modules {
 
         $dep->rel($ver_rel) if $dep and $ver_rel and $dep->ver;
 
-        my $mod_ver = join( " ", $module, $ver_rel, $version || () );
+        my $mod_ver = join( " ", $module, $ver_rel // (), $version || () );
         if ($dep) {
             if ($verbose) {
                 if ( $dep->pkg and $dep->pkg eq 'perl' ) {

-- 
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