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 bba607c8afbccba902501ce578c2eb5b061d27ae
Author: Damyan Ivanov <d...@debian.org>
Date:   Tue Mar 21 21:14:01 2017 +0000

    is_core_perl_package: strip architecture before matching package name
---
 lib/DhMakePerl/Utils.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/DhMakePerl/Utils.pm b/lib/DhMakePerl/Utils.pm
index 4691182..2759669 100644
--- a/lib/DhMakePerl/Utils.pm
+++ b/lib/DhMakePerl/Utils.pm
@@ -128,6 +128,8 @@ list.
 sub is_core_perl_package {
     my ($pkg) = @_;
 
+    $pkg =~ s/:\w+$//;  # strip architecture
+
     return 1
       if $pkg eq 'perl-base'
       or $pkg eq 'perl'

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to