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

lintian: r1094 - in trunk: checks debian testset/relations/debian



Author: rra
Date: 2008-01-03 05:46:24 +0100 (Thu, 03 Jan 2008)
New Revision: 1094

Modified:
   trunk/checks/fields
   trunk/debian/changelog
   trunk/testset/relations/debian/rules
Log:
* checks/fields:
  + [RA] Handle double-colon rules when checking that build dependencies
    match debian/rules.  (Closes: #457501)

Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2008-01-03 04:39:27 UTC (rev 1093)
+++ trunk/checks/fields	2008-01-03 04:46:24 UTC (rev 1094)
@@ -618,7 +618,7 @@
 				$needed{$rule->[0]} = $rule->[2] || $needed{$rule->[0]} || '';
 			}
 		}
-		if (/^(\S+):(.*)/) {
+		if (/^(\S+?):+(.*)/) {
 			$target = $1;
 			if (grep ($_ eq $target, @rules)) {
 				push (@rules, split (' ', $2));
@@ -945,4 +945,8 @@
 
 1;
 
+# Local Variables:
+# indent-tabs-mode: t
+# cperl-indent-level: 8
+# End:
 # vim: syntax=perl sw=4 ts=4 noet shiftround

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-01-03 04:39:27 UTC (rev 1093)
+++ trunk/debian/changelog	2008-01-03 04:46:24 UTC (rev 1094)
@@ -15,6 +15,9 @@
   * checks/description{.desc,}:
     + [RA] Do picky spelling and capitalization checks on the description
       and note and explain this in the long description.
+  * checks/fields:
+    + [RA] Handle double-colon rules when checking that build dependencies
+      match debian/rules.  (Closes: #457501)
   * checks/files.desc:
     + [RA] Remove a stray variable from the config-file-reserved tag.
   * checks/menu-format.desc:

Modified: trunk/testset/relations/debian/rules
===================================================================
--- trunk/testset/relations/debian/rules	2008-01-03 04:39:27 UTC (rev 1093)
+++ trunk/testset/relations/debian/rules	2008-01-03 04:46:24 UTC (rev 1094)
@@ -33,7 +33,7 @@
 
 binary: binary-arch binary-indep
 
-clean:
+clean::
 	rm -rf debian/tmp debian/files
 
 # Test allowing quilt Build-Depends for manual quilt invocations.


Reply to: