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

lintian: r716 - trunk/checks



Author: rra
Date: 2006-08-19 05:48:55 +0200 (Sat, 19 Aug 2006)
New Revision: 716

Modified:
   trunk/checks/fields
Log:
Reset to reading entire files after parsing debian/rules.  This doesn't
affect anything, but I noticed it while investigating another problem.


Modified: trunk/checks/fields
===================================================================
--- trunk/checks/fields	2006-08-19 03:21:32 UTC (rev 715)
+++ trunk/checks/fields	2006-08-19 03:48:55 UTC (rev 716)
@@ -562,6 +562,7 @@
 		}
 	}
 	close RULES;
+	$/ = undef;             # Back to reading everything.
 
 	tag "build-depends-indep-without-arch-indep", ""
 		if (-e "fields/build-depends-indep" && $arch_indep_packages == 0);
@@ -678,7 +679,7 @@
 			$name =~ s/[\[\(][^\)\]]+[\)\]]//g;
 			$name =~ s/\s+$//;
 			$name =~ s/\s+/ /g;
-			unless (Dep::implies($dep, Dep::parse ($name))) {
+			unless (Dep::implies($dep, Dep::parse($name))) {
 				tag "build-depends-without-arch-dep", $name;
 			}
 		}



Reply to: