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

lintian: r1292 - in trunk: checks debian testset testset/binary/debian



Author: djpig
Date: 2008-05-01 19:28:09 +0200 (Thu, 01 May 2008)
New Revision: 1292

Modified:
   trunk/checks/version-substvars
   trunk/debian/changelog
   trunk/testset/binary/debian/control
   trunk/testset/tags.binary
Log:
* checks/version-substvars:
  + Also apply the "not-binnmuable-*" checks to Pre-Depends.
    (Closes: #472247)


Modified: trunk/checks/version-substvars
===================================================================
--- trunk/checks/version-substvars	2008-05-01 13:42:08 UTC (rev 1291)
+++ trunk/checks/version-substvars	2008-05-01 17:28:09 UTC (rev 1292)
@@ -61,7 +61,8 @@
 		}
 	}
 
-	foreach (split /,/, ($_->{'depends'} || "")) {
+	foreach (split(m/,/, ($_->{'pre-depends'} || "").", ".
+		       ($_->{'depends'} || ""))) {
 		next unless m/(\S+)\s*\(\s*=\s*\${((?:Source-|source:|binary:)Version)}/x;
 
 		$pkg2 = $1;

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-05-01 13:42:08 UTC (rev 1291)
+++ trunk/debian/changelog	2008-05-01 17:28:09 UTC (rev 1292)
@@ -1,3 +1,11 @@
+lintian (1.23.48) UNRELEASED; urgency=low
+
+  * checks/version-substvars:
+    + [FL] Also apply the "not-binnmuable-*" checks to Pre-Depends.
+      (Closes: #472247)
+
+ -- Frank Lichtenheld <djpig@debian.org>  Thu, 01 May 2008 19:18:35 +0200
+
 lintian (1.23.47) unstable; urgency=low
 
   The "long time no upload" release.

Modified: trunk/testset/binary/debian/control
===================================================================
--- trunk/testset/binary/debian/control	2008-05-01 13:42:08 UTC (rev 1291)
+++ trunk/testset/binary/debian/control	2008-05-01 17:28:09 UTC (rev 1292)
@@ -11,7 +11,7 @@
 
 Package: binary
 Architecture: any
-Depends: ${shlibs:Depends}, xorg, binary-data (= ${Source-Version}), libssl0.9.8
+Pre-Depends: ${shlibs:Depends}, xorg, binary-data (= ${Source-Version}), libssl0.9.8
 Homepage: <http://lintian.debian.org/>
 Vcs-Svn: http://svn.wolffelaar.nl/lintian/trunk
 Description: test handling of binary files

Modified: trunk/testset/tags.binary
===================================================================
--- trunk/testset/tags.binary	2008-05-01 13:42:08 UTC (rev 1291)
+++ trunk/testset/tags.binary	2008-05-01 17:28:09 UTC (rev 1292)
@@ -1,7 +1,7 @@
 E: binary source: debian-rules-missing-required-target binary-indep
 E: binary: debian-changelog-file-missing-or-wrong-name
 E: binary: debian-news-file-uses-obsolete-national-encoding at line 3
-E: binary: depends-on-x-metapackage depends: xorg
+E: binary: depends-on-x-metapackage pre-depends: xorg
 E: binary: desktop-entry-missing-required-key /usr/share/applications/goodbye.desktop Name
 E: binary: doc-base-document-field-ends-in-whitespace binary:1
 E: binary: doc-base-file-duplicated-format binary:36 html


Reply to: