r56177 - /trunk/dh-make-perl/lib/Debian/AptContents.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Apr 16 14:48:16 UTC 2010


Author: dmn
Date: Fri Apr 16 14:48:09 2010
New Revision: 56177

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=56177
Log:
find_perl_module_package: ignore perl packages when looking for direct dependencies

Modified:
    trunk/dh-make-perl/lib/Debian/AptContents.pm

Modified: trunk/dh-make-perl/lib/Debian/AptContents.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/Debian/AptContents.pm?rev=56177&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/Debian/AptContents.pm (original)
+++ trunk/dh-make-perl/lib/Debian/AptContents.pm Fri Apr 16 14:48:09 2010
@@ -428,6 +428,9 @@
         else                     { return $a cmp $b; }    # or 0?
     } @matches;
 
+    # we don't want perl, perl-base and perl-modules here
+    @matches = grep { !/^perl(?:-(?:base|modules))?$/ } @matches;
+
     my $direct_dep;
     $direct_dep = Debian::Dependency->new(
           ( @matches > 1 )




More information about the Pkg-perl-cvs-commits mailing list