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

lintian: r881 - in trunk: checks debian



Author: rra
Date: 2007-05-03 05:39:22 +0200 (Thu, 03 May 2007)
New Revision: 881

Modified:
   trunk/checks/cruft
   trunk/debian/changelog
Log:
* checks/cruft:
  + [RA] Allow any automake package to satisfy the autotools-dev build
    dependency for suppressing warnings about out of date autotools
    helper files.  (Closes: #417067)


Modified: trunk/checks/cruft
===================================================================
--- trunk/checks/cruft	2007-05-01 00:42:44 UTC (rev 880)
+++ trunk/checks/cruft	2007-05-03 03:39:22 UTC (rev 881)
@@ -30,6 +30,12 @@
 use File::Find;
 use File::Basename;
 
+# All the packages that may provide config.{sub,guess} during the build, used
+# to suppress warnings about outdated autotools helper files.
+my $autotools_pkgs = join ' | ',
+    qw(autotools-dev automake automaken automake1.4 automake1.7 automake1.8
+       automake1.9 automake1.10);
+
 my $dir;
 my $pkg;
 my $atdinbd;
@@ -57,15 +63,12 @@
 # I'm not thrilled with having the automake exception as well, but people do
 # depend on autoconf and automake and then use autoreconf to update
 # config.guess and config.sub, and automake depends on autotools-dev.
-#
-# We may need to allow all the various versioned automake packages, but let's
-# hope not.
 $atdinbd = 0;
 if (open IN, "fields/build-depends") {
     my $bd;
     chop($bd = <IN>);
     close IN;
-    $atdinbd = 1 if Dep::implies(Dep::parse($bd), Dep::parse('autotools-dev | automake'));
+    $atdinbd = 1 if Dep::implies(Dep::parse($bd), Dep::parse($autotools_pkgs));
 }
 
 my $cwd = cwd;

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-05-01 00:42:44 UTC (rev 880)
+++ trunk/debian/changelog	2007-05-03 03:39:22 UTC (rev 881)
@@ -1,11 +1,15 @@
 lintian (1.23.31) UNRELEASED; urgency=low
 
+  * checks/cruft:
+    + [RA] Allow any automake package to satisfy the autotools-dev build
+      dependency for suppressing warnings about out of date autotools
+      helper files.  (Closes: #417067)
   * checks/fields:
     + [RA] Require libmodule-build-perl in Build-Depends if the clean rule
       runs perl Build.  Hopefully this isn't too aggressive.  Thanks, Ian
       Beckwith.  (Closes: #421549)
 
- -- Russ Allbery <rra@debian.org>  Sun, 29 Apr 2007 19:58:44 -0700
+ -- Russ Allbery <rra@debian.org>  Wed,  2 May 2007 20:38:18 -0700
 
 lintian (1.23.30) unstable; urgency=low
 



Reply to: