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

[lintian] 01/01: Don't emit application-in-library-section if package starts with "cpan"



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

abe pushed a commit to branch master
in repository lintian.

commit d84a929aa9e058d6e3d0c58f4d80028267b69e6e
Author: Axel Beckert <abe@deuxchevaux.org>
Date:   Sun May 22 19:48:07 2016 +0200

    Don't emit application-in-library-section if package starts with "cpan"
    
    Previously only the two packages cpanplus and cpanminus were excluded.
---
 checks/application-not-library.pm | 2 +-
 debian/changelog                  | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/checks/application-not-library.pm b/checks/application-not-library.pm
index a212bd2..60e318d 100644
--- a/checks/application-not-library.pm
+++ b/checks/application-not-library.pm
@@ -33,7 +33,7 @@ sub run {
       $pkg =~ /^perl(?:-base)?$/                    or # perl itself
       $pkg =~ /^ruby[\d.]*$/                        or # ruby itself
       $pkg =~ /^python[\d.]*(?:-dev|-minimal)?$/    or # python itself
-      $pkg =~ /^cpan(?:plus|minus)$/                or # cpan package managers
+      $pkg =~ /^cpan/                               or # cpan related tools
       $pkg =~ /^libmodule-.*-perl$/                 or # perl module tools
       $pkg =~ /^libdevel-.*-perl$/                  or # perl debugging tools
       $pkg =~ /^libperl.*-perl$/                    or # perl-handling tools
diff --git a/debian/changelog b/debian/changelog
index 3d06db2..38d1a3a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,10 @@ lintian (2.5.45) UNRELEASED; urgency=medium
 
   XXX: generate tag summary with private/generate-tag-summary
 
-  * checks/application-not-library.desc:
+  * checks/application-not-library.{desc,pm}:
     + [JW] Use HTTPS for Alioth URLs.
+    + [AB] Don't emit application-in-library-section for packages starting
+      with "cpan", not only "cpanplus" and "cpanminus".
   * checks/binaries.{desc,pm}:
     + [NT] Rewrite description for hardening-no-bindnow.  There
       is no references to why bindnow would cause issues.

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


Reply to: