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

lintian: r926 - in trunk: checks debian



Author: rra
Date: 2007-07-23 20:33:22 +0200 (Mon, 23 Jul 2007)
New Revision: 926

Modified:
   trunk/checks/version-substvars
   trunk/debian/changelog
Log:
* checks/version-substvars:
  + [RA] Don't skip other checks for binNMUability when warning about
    the deprecated ${Source-Version} substvar.  Thanks, Lior Kaplan.
    (Closes: #432959)

Modified: trunk/checks/version-substvars
===================================================================
--- trunk/checks/version-substvars	2007-07-23 18:14:12 UTC (rev 925)
+++ trunk/checks/version-substvars	2007-07-23 18:33:22 UTC (rev 926)
@@ -1,7 +1,7 @@
 # version-substvars -- lintian check script -*- perl -*-
 #
 # Copyright (C) 2006 Adeodato Simó
-# 
+#
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
@@ -23,12 +23,15 @@
 #
 # What breaks
 # -----------
-# 
+#
 # (b1) any -> any (= ${source:Version})		 -> use b:V
 # (b2) any -> all (= ${Source-Version}) [or b:V] -> use s:V
-# (b3) all -> any (= ${either-of-them})		 -> use (>= ${s:V}), optionally (<< ${s:V}.1~)
+# (b3) all -> any (= ${either-of-them})		 -> use (>= ${s:V}),
+#						    optionally (<< ${s:V}.1~)
+#
+# Always warn on ${Source-Version} even if it doesn't break since the substvar
+# is now considered deprecated.
 
-
 package Lintian::version_substvars;
 use strict;
 
@@ -55,7 +58,6 @@
 		next unless $_->{$field};
 		if ($_->{$field} =~ m/\${Source-Version}/) {
 			tag "substvar-source-version-is-deprecated", $pkg1;
-			last;
 		}
 	}
 

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-07-23 18:14:12 UTC (rev 925)
+++ trunk/debian/changelog	2007-07-23 18:33:22 UTC (rev 926)
@@ -14,12 +14,16 @@
     + [RA] Exclude udebs from dependency checking in the shlibs files
       since binary packages may legitimately declare udeb dependencies on
       other packages.  Thanks, Loïc Minier.  (Closes: #431395)
+  * checks/version-substvars:
+    + [RA] Don't skip other checks for binNMUability when warning about
+      the deprecated ${Source-Version} substvar.  Thanks, Lior Kaplan.
+      (Closes: #432959)
 
   * frontend/lintian:
     + [RA] Add \w+-backports to the known distribution list.  Thanks,
       Vincent Danjean.  (Closes: #432268)
 
- -- Russ Allbery <rra@debian.org>  Mon, 23 Jul 2007 11:14:07 -0700
+ -- Russ Allbery <rra@debian.org>  Mon, 23 Jul 2007 11:32:32 -0700
 
 lintian (1.23.32) unstable; urgency=low
 



Reply to: