The following commit has been merged in the master branch:
commit d064ef09819f1a44885944fc41e87bbfd2f92de1
Author: Russ Allbery <r...@debian.org>
Date:   Sat Mar 20 16:25:14 2010 -0700

    Exclude *-common packages from weak-library-dev-dependency
    
    * checks/control-file:
      + [RA] Also exclude *-common packages from weak-library-dev-dependency
        checks.  Thanks, Emilio Pozuelo Monfort.  (Closes: #570408)

diff --git a/checks/control-file b/checks/control-file
index 78cac18..121e63f 100644
--- a/checks/control-file
+++ b/checks/control-file
@@ -285,7 +285,7 @@ sub check_dev_depends {
        $depends =~ s/\s+$//;
        for my $target (@packages) {
                next unless ($target =~ /^lib[\w.+-]+\d/
-                            and $target !~ /-(?:dev|docs?)$/);
+                            and $target !~ /-(?:dev|docs?|common)$/);
                my @depends = grep { /(?:^|[\s|])\Q$target\E(?:[\s|\(]|\z)/ }
                    split (/\s*,\s*/, $depends);
 
diff --git a/debian/changelog b/debian/changelog
index 1de7ea5..2fd542e 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ lintian (2.3.4) UNRELEASED; urgency=low
     + [RG] Update package-depends-on-hardcoded-libc exception to also
       exclude eglibc.  Based on a patch from Cyril Brulebois.
       (Closes: #573398)
+    + [RA] Also exclude *-common packages from weak-library-dev-dependency
+      checks.  Thanks, Emilio Pozuelo Monfort.  (Closes: #570408)
   * checks/init.d:
     + [RA] Exclude symlinks to upstart-job from init script syntax checks.
       Based on a patch by Jos Boumans.  (Closes: #569492)

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1nt830-0004ib...@alioth.debian.org

Reply via email to