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

lintian: r1108 - in trunk: checks debian testset/diffs/debian



Author: rra
Date: 2008-01-04 06:34:30 +0100 (Fri, 04 Jan 2008)
New Revision: 1108

Added:
   trunk/testset/diffs/debian/config.cache
Modified:
   trunk/checks/cruft
   trunk/debian/changelog
Log:
* checks/cruft:
  + [RA] Ignore debian/config.cache.

Modified: trunk/checks/cruft
===================================================================
--- trunk/checks/cruft	2008-01-04 05:08:31 UTC (rev 1107)
+++ trunk/checks/cruft	2008-01-04 05:34:30 UTC (rev 1108)
@@ -211,9 +211,13 @@
         }
     }
 
-    # Tests of autotools files are a special case.
-    if ($name =~ m,^(.+/)?config.(?:cache|log|status)$, and $pkg ne "lintian") {
-        tag "configure-generated-file-in-source", $name;
+    # Tests of autotools files are a special case.  Ignore debian/config.cache
+    # as anyone doing that probably knows what they're doing and is using it
+    # as part of the build.
+    if ($name =~ m,^(.+/)?config.(?:cache|log|status)$,) {
+        if ($name !~ m,^debian/config\.cache$, and $pkg ne 'lintian') {
+            tag "configure-generated-file-in-source", $name;
+        }
     } elsif ($name =~ m,^(.+/)?config.(?:guess|sub)$, and not $atdinbd) {
         my $b = basename $name;
         open (F, '<', $b) or die "can't open $name: $!";
@@ -228,4 +232,8 @@
 }
 1;
 
+# Local Variables:
+# indent-tabs-mode: nil
+# cperl-indent-level: 4
+# End:
 # vim: ts=8 sw=4 noet syntax=perl

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-01-04 05:08:31 UTC (rev 1107)
+++ trunk/debian/changelog	2008-01-04 05:34:30 UTC (rev 1108)
@@ -20,6 +20,8 @@
     + [RA] Warn about packages covered by the GPL and linked with libssl
       that don't list other common licenses or mention a license exception
       or exemption.  Requested by Joerg Jaspert.  (Closes: #454238)
+  * checks/cruft:
+    + [RA] Ignore debian/config.cache.
   * checks/debian-readme{.desc,}:
     + Combine readme-debian-{is,contains}-debmake-template and be less
       particular about the exact formatting of the dh-make template.

Added: trunk/testset/diffs/debian/config.cache
===================================================================
--- trunk/testset/diffs/debian/config.cache	                        (rev 0)
+++ trunk/testset/diffs/debian/config.cache	2008-01-04 05:34:30 UTC (rev 1108)
@@ -0,0 +1 @@
+cache


Reply to: