[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: package-relation-with-perl-modules: Fix determining the source package



This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch ppt-lc-mover
in repository lintian.

commit 3efdfdb0ada543e8c8dd5190945dc07029a9a8e9
Author: Axel Beckert <abe@deuxchevaux.org>
Date:   Thu Aug 13 22:04:40 2015 +0200

    package-relation-with-perl-modules: Fix determining the source package
    
    Thanks nthykier.
    
    Signed-off-by: Axel Beckert <abe@deuxchevaux.org>
---
 checks/fields.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/fields.pm b/checks/fields.pm
index 87beff2..9a0952d 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -834,7 +834,7 @@ sub run {
                       # perl-modules-5.xx (>> 5.20)
                       if $d_pkg =~ /^perl-modules/
                       && $field ne 'replaces'
-                      && $info->field('source', $pkg) ne 'perl';
+                      && $proc->pkg_src ne 'perl';
 
                     tag 'depends-exclusively-on-makedev', $field,
                       if ( $field eq 'depends'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: