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

lintian: r143 - in trunk: checks testset/relations/debian



Author: he
Date: 2004-04-10 22:43:35 +0200 (Sat, 10 Apr 2004)
New Revision: 143

Modified:
   trunk/checks/copyright-file
   trunk/testset/relations/debian/rules
Log:
Correct whitespace issues, add a closes and commit the testset change
that made my svn choke.


Modified: trunk/checks/copyright-file
===================================================================
--- trunk/checks/copyright-file	2004-04-10 20:25:30 UTC (rev 142)
+++ trunk/checks/copyright-file	2004-04-10 20:43:35 UTC (rev 143)
@@ -81,14 +81,14 @@
     	# this case is allowed, if this package depends on link
     	# and both packages come from the same source package
 
-
 	if (not open (VERSION, "fields/version")) {
 	    fail("Can't open fields/version: $!");
 	} else {
 	    chomp(my $our_version = <VERSION>); 
+	    close VERSION;
 	
-    	    # depend on $link pkg?
-    	    if ((not depends_on($link, $our_version)) &&
+	    # depend on $link pkg?
+	    if ((not depends_on($link, $our_version)) &&
 	         not (exists($known_essential{$link}) &&
 	         defined($known_essential{$link}))) {
 		# no, it does not.

Modified: trunk/testset/relations/debian/rules
===================================================================
--- trunk/testset/relations/debian/rules	2004-04-10 20:25:30 UTC (rev 142)
+++ trunk/testset/relations/debian/rules	2004-04-10 20:43:35 UTC (rev 143)
@@ -26,12 +26,14 @@
 	install -d debian/tmp/DEBIAN
 	dpkg-gencontrol -prelations -isp
 	dpkg --build debian/tmp ../relations_4_all.deb
+	install -d debian/tmp/usr/share/doc/
+	ln -s relations debian/tmp/usr/share/doc/relations-multiple-libs
 	dpkg-gencontrol -prelations-multiple-libs -isp
 	dpkg --build debian/tmp ../relations-multiple-libs_4_all.deb
 
 binary: binary-arch binary-indep
 
 clean:
-	rm -f debian/files
+	rm -rf debian/tmp debian/files
 
 .PHONY: build binary-arch binary-indep binary clean



Reply to: