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

[lintian] 01/01: c/fields.pm/libmodule-build-perl-needs-to-be-in-build-depends: Tighten regexp with $



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 62f0e0f8522442c3ac82eddd19afc65b7c8bc2fc
Author: Axel Beckert <abe@deuxchevaux.org>
Date:   Fri Aug 14 20:31:01 2015 +0200

    c/fields.pm/libmodule-build-perl-needs-to-be-in-build-depends: Tighten regexp with $
    
    Signed-off-by: Axel Beckert <abe@deuxchevaux.org>
---
 checks/fields.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/checks/fields.pm b/checks/fields.pm
index 9a0952d..10d5963 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -1176,9 +1176,9 @@ sub run {
         # libmodule-build-perl
         # matches() instead of implies() because of possible OR releation
         if ($info->relation('build-depends-indep')
-            ->matches(qr/^libmodule-build-perl/, VISIT_PRED_NAME)
+            ->matches(qr/^libmodule-build-perl$/, VISIT_PRED_NAME)
             && !$info->relation('build-depends')
-            ->matches(qr/^libmodule-build-perl/, VISIT_PRED_NAME)) {
+            ->matches(qr/^libmodule-build-perl$/, VISIT_PRED_NAME)) {
             tag 'libmodule-build-perl-needs-to-be-in-build-depends';
         }
 

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


Reply to: