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 <a...@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


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1zpamt-0005he...@moszumanska.debian.org

Reply via email to