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

lintian: r387 - in trunk: checks debian



Author: cjwatson
Date: 2004-12-21 12:39:11 +0100 (Tue, 21 Dec 2004)
New Revision: 387

Modified:
   trunk/checks/standards-version
   trunk/debian/changelog
Log:
By definition, udebs aren't required to conform to policy, so don't issue
no-standards-version-field for them. (If they happen to have a
Standards-Version field anyway, we still check that it's valid.)


Modified: trunk/checks/standards-version
===================================================================
--- trunk/checks/standards-version	2004-12-18 12:48:30 UTC (rev 386)
+++ trunk/checks/standards-version	2004-12-21 11:39:11 UTC (rev 387)
@@ -79,7 +79,9 @@
 my $std = "fields/standards-version";
 # Standards-Version?
 if (not -f $std) {
-    tag "no-standards-version-field", "";
+    # udebs aren't required to conform to policy, so they don't need
+    # Standards-Version. (If they have it, though, it should be valid.)
+    tag "no-standards-version-field", "" unless $type eq 'udeb';
     return 0;
 }
 

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-12-18 12:48:30 UTC (rev 386)
+++ trunk/debian/changelog	2004-12-21 11:39:11 UTC (rev 387)
@@ -10,6 +10,11 @@
     + [HE] Strip off ./ at the beginning of the filenames in md5sums
     files (this seems to happen on some systems, though we don't know
     how). (Closes: #284728)
+  * checks/standards-version:
+    + [CW] By definition, udebs aren't required to conform to policy, so
+      don't issue no-standards-version-field for them. (If they happen to
+      have a Standards-Version field anyway, we still check that it's
+      valid.)
 
  -- Marc 'HE' Brockschmidt <he@debian.org>  Sat, 18 Dec 2004 13:13:11 +0100
 



Reply to: