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

[lintian] 05/05: application-not-library: Support sections with prefix like "non-free/libs"



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 0d7baa4ac89d6f20daee0f563e698bae661846e0
Author: Axel Beckert <abe@deuxchevaux.org>
Date:   Tue Aug 11 16:24:24 2015 +0200

    application-not-library: Support sections with prefix like "non-free/libs"
    
    Issue found by nthykier.
---
 checks/application-not-library.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/application-not-library.pm b/checks/application-not-library.pm
index 6dddd2d..91e3a28 100644
--- a/checks/application-not-library.pm
+++ b/checks/application-not-library.pm
@@ -72,7 +72,7 @@ sub run {
 
     # Check for wrong section
     my $section = $info->field('section', '');
-    if ($section =~ /perl|python|ruby|^libs/) { # oldlibs is ok
+    if ($section =~ /perl|python|ruby|(?:^|\/)libs/) { # oldlibs is ok
         tag('application-in-library-section', "$section", @programs);
     }
 

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


Reply to: