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

lintian: r301 - in trunk: checks debian



Author: jeroen
Date: 2004-06-29 18:05:10 +0200 (Tue, 29 Jun 2004)
New Revision: 301

Modified:
   trunk/checks/fields
   trunk/debian/changelog
Log:
checks/fields:
+ [JvW] For build-depends-without-arch-dep, fix detection of debhelper
  usage in clean when used by means of CDBS (combined with FL's downgrade of
  this test's severity, now fully closes: #247171)


Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2004-06-29 15:24:12 UTC (rev 300)
+++ trunk/checks/fields	2004-06-29 16:05:10 UTC (rev 301)
@@ -405,7 +405,8 @@
 				local $/ = "\n"; #Read this linewise				
 				while (<RULES>) {
 					$target = $1 if (/^(\S+):/);
-					if (/^\s+dh_.+/ && grep ($_ eq $target, qw(clean binary-arch build-arch))) {
+					if (/^\s+dh_.+/ && grep ($_ eq $target, qw(clean binary-arch build-arch)) or
+							m#^include\s+/usr/share/cdbs/1/rules/debhelper.mk#) {
 						$uses_dh = "yes";
 						last
 					}

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-06-29 15:24:12 UTC (rev 300)
+++ trunk/debian/changelog	2004-06-29 16:05:10 UTC (rev 301)
@@ -41,6 +41,9 @@
       Conrad
     + [FL] Downgrade build-depends-without-arch-dep to warning as it's
       heuristic. Reword explanation. This partly handles #247171.
+    + [JvW] For build-depends-without-arch-dep, fix detection of debhelper
+      usage in clean when used by means of CDBS (combined with above change,
+      now fully closes: #247171)
     + [HE] Check Build-Depends(-Indep) for virtual packages without a 
       real dependency. Fix based on patch by Steinar H. Gunderson
       <sgunderson@bigfoot.com>. (Closes: #255593)



Reply to: