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

[SCM] Debian package checker branch, master, updated. 2.0.0-rc1-14-g2d55c59



The following commit has been merged in the master branch:
commit 5b1b65d6ce5a6dc275cc9c72b4b24dcf60f2d21b
Author: Frank Lichtenheld <djpig@debian.org>
Date:   Sun Sep 21 15:54:51 2008 +0200

    checks/standards-version: Fix udeb detection
    
    Use new Lintian::Collect::Source->binaries method to fix udeb detection.
    Thanks to Raphael Geissert.
    
    Closes: #498096

diff --git a/checks/standards-version b/checks/standards-version
index 990bb8a..014e6e2 100644
--- a/checks/standards-version
+++ b/checks/standards-version
@@ -83,8 +83,16 @@ my $info = shift;
 # udebs aren't required to conform to policy, so they don't need
 # Standards-Version. (If they have it, though, it should be valid.)
 my $version = $info->field('standards-version');
+my $pkgs = $info->binaries;
+my $all_udeb = 1;
+foreach my $bin_type (values %$pkgs) {
+    if ($bin_type ne 'udeb') {
+        $all_udeb = 0;
+        last;
+    }
+}
 if (not defined $version) {
-    tag 'no-standards-version-field' unless $type eq 'udeb';
+    tag 'no-standards-version-field' unless $all_udeb;
     return 0;
 }
 
diff --git a/debian/changelog b/debian/changelog
index 23aca38..228e65d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,10 @@ lintian (2.0.0) unstable; urgency=low
   * checks/scripts:
     + [FL] Accept the ocaml virtual packages as providing ocamlrun.
       Based on a patch by Stephane Glondu.  (Closes: #495431)
+  * checks/standards-version:
+    + [FL] Use new Lintian::Collect::Source->binaries method to
+      fix udeb detection.  Thanks to Raphael Geissert.
+      (Closes: #498096)
   
   * frontend/lintian:
     + [FL] Add support for ranges to --display-level.

-- 
Debian package checker


Reply to: