The following commit has been merged in the master branch:
commit 1b3ed12551d86131fb2290c7fc24695adf3622a0
Author: Russ Allbery <[email protected]>
Date:   Sat Mar 21 13:28:53 2009 -0700

    Fix dbg-package-missing-depends when followed by a comma
    
    * checks/fields
      + [RA] Fix dbg-package-missing-depends check when the dependency is
        followed by a comma.  (Closes: #520640)

diff --git a/checks/fields b/checks/fields
index 5367a32..221eae9 100644
--- a/checks/fields
+++ b/checks/fields
@@ -914,7 +914,7 @@ if ($type eq "source") {
                $deps  = $info->binary_field($_, 'pre-depends') . ', ';
                $deps .= $info->binary_field($_, 'depends');
                tag 'dbg-package-missing-depends', $_
-                   unless (grep {my $quoted_name = qr<\Q$_>; $deps =~ 
m/(\s|^)$quoted_name(\s|$)/} @arch_dep_pkgs);
+                  unless (grep {my $quoted_name = qr<\Q$_>; $deps =~ 
m/(\s|,|^)$quoted_name(\s|,|$)/} @arch_dep_pkgs);
        }
 }
 
diff --git a/debian/changelog b/debian/changelog
index 11e80f7..e0527c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ lintian (2.2.9) UNRELEASED; urgency=low
 
   * checks/fields{,.desc}:
     + [FL] Update list of valid sections.
+    + [RA] Fix dbg-package-missing-depends check when the dependency is
+      followed by a comma.  (Closes: #520640)
   * checks/lintian.desc:
     + [CW] Add karmic as an allowable distribution for Ubuntu (thanks, Soren
       Hansen).

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to