lintian: r841 - in trunk: checks debian
Author: rra
Date: 2007-04-11 04:30:00 +0200 (Wed, 11 Apr 2007)
New Revision: 841
Modified:
trunk/checks/cruft
trunk/checks/cruft.desc
trunk/debian/changelog
Log:
+ [RA] Allow a build dependency on automake to satisfy the
autotools-dev requirement since users may use autoreconf to update
config.{sub,guess}. Thanks, Jord?\195?\160 Polo. (Closes: #417067)
Modified: trunk/checks/cruft
===================================================================
--- trunk/checks/cruft 2007-04-11 02:25:06 UTC (rev 840)
+++ trunk/checks/cruft 2007-04-11 02:30:00 UTC (rev 841)
@@ -53,13 +53,19 @@
}
}
-# read build-depends file and see if it depends on autotools-dev
+# Read build-depends file and see if it depends on autotools-dev or automake.
+# 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'));
+ $atdinbd = 1 if Dep::implies(Dep::parse($bd), Dep::parse('autotools-dev | automake'));
}
my $cwd = cwd;
Modified: trunk/checks/cruft.desc
===================================================================
--- trunk/checks/cruft.desc 2007-04-11 02:25:06 UTC (rev 840)
+++ trunk/checks/cruft.desc 2007-04-11 02:30:00 UTC (rev 841)
@@ -40,9 +40,9 @@
Tag: outdated-autotools-helper-file
Type: error
Info: The referenced file has a time stamp older than year 2004 and the
- package does not build-depend on autotools-dev and therefore apparently
- does not update it. This usually means that the source package will not
- work correctly on all currently released architectures.
+ package does not build-depend on autotools-dev or automake and therefore
+ apparently does not update it. This usually means that the source package
+ will not work correctly on all currently released architectures.
Tag: svn-commit-file-in-source
Type: warning
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-04-11 02:25:06 UTC (rev 840)
+++ trunk/debian/changelog 2007-04-11 02:30:00 UTC (rev 841)
@@ -29,6 +29,9 @@
tarball should generally be reported as an upstream bug. Qualify
the statement that export should be used instead of checkout to
refer to snapshot packaging. Thanks, Jari Aalto. (Closes: #373668)
+ + [RA] Allow a build dependency on automake to satisfy the
+ autotools-dev requirement since users may use autoreconf to update
+ config.{sub,guess}. Thanks, Jordà Polo. (Closes: #417067)
* checks/debhelper.desc:
+ [RA] Use consistent file naming when diagnosing possibly conflicting
debhelper compat settings. Thanks, Jari Aalto. (Closes: #409122)
Reply to: