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

lintian: r823 - in trunk: checks debian



Author: rra
Date: 2007-02-27 08:17:06 +0100 (Tue, 27 Feb 2007)
New Revision: 823

Modified:
   trunk/checks/cruft
   trunk/debian/changelog
Log:
* checks/cruft:
  + [RA] Use Dep to check autotools-dev build dependency rather than
    rolling our own dependency parsing, thus avoiding problems with it's
    the first dependency.  Thanks, Tilman Koschnick.  (Closes: #412406)

Modified: trunk/checks/cruft
===================================================================
--- trunk/checks/cruft	2007-02-27 07:15:26 UTC (rev 822)
+++ trunk/checks/cruft	2007-02-27 07:17:06 UTC (rev 823)
@@ -23,6 +23,7 @@
 
 package Lintian::cruft;
 use strict;
+use Dep;
 use Tags;
 
 use Cwd;
@@ -58,7 +59,7 @@
     my $bd;
     chop($bd = <IN>);
     close IN;
-    $atdinbd = 1 if ($bd =~ /,\s*autotools-dev/);
+    $atdinbd = 1 if Dep::implies(Dep::parse($bd), Dep::parse('autotools-dev'));
 }
 
 my $cwd = cwd;

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-02-27 07:15:26 UTC (rev 822)
+++ trunk/debian/changelog	2007-02-27 07:17:06 UTC (rev 823)
@@ -9,6 +9,10 @@
     + [JA] Perl syntax corrections.
     + [JA] Support the Autobuild: and Vcs-* fields in .dsc files.
       Applied patch to implement this by Ian Beckwith.  (Closes: #403553).
+  * checks/cruft:
+    + [RA] Use Dep to check autotools-dev build dependency rather than
+      rolling our own dependency parsing, thus avoiding problems with it's
+      the first dependency.  Thanks, Tilman Koschnick.  (Closes: #412406)
   * checks/debhelper.desc:
     + [RA] Use consistent file naming when diagnosing possibly conflicting
       debhelper compat settings.  Thanks, Jari Aalto.  (Closes: #409122)



Reply to: