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

lintian: r343 - in trunk: checks debian testset



Author: jeroen
Date: 2004-10-12 23:57:19 +0200 (Tue, 12 Oct 2004)
New Revision: 343

Modified:
   trunk/checks/copyright-file
   trunk/debian/changelog
   trunk/testset/tags.foo++
   trunk/testset/tags.libbaz
Log:
* checks/copyright-file:
  + [JvW] Revert the extra pedantic check introduced in 1.23.0 that
    complained about unstrict dependencies when one as a
    /usr/share/doc/<package> that is a symlink (Closes: #249414)


Modified: trunk/checks/copyright-file
===================================================================
--- trunk/checks/copyright-file	2004-08-26 00:23:49 UTC (rev 342)
+++ trunk/checks/copyright-file	2004-10-12 21:57:19 UTC (rev 343)
@@ -227,7 +227,11 @@
 	# has to be there whatever happens.
 	if (/^\s* ( [^\s\[\(]+ ) \s* (?:\( \s* (<=|<|=|>=|>>|>) \s* ([^(]+) \))?\s*$/x) {
 	    my ($d_pkg, $d_relation, $d_version) = ($1, ($2 || ""), ($3 || ""));
-	    return 1 if (($package eq $d_pkg) and ($d_relation eq "=") and ($d_version eq $version));
+	    return 1 if (($package eq $d_pkg));
+	    # We won't check for a strict dependency, for practical
+	    # reasons, it's sometimes preferred
+	    # # and ($d_relation eq "=") and ($d_version eq $version));
+
 	}
     }
 

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-08-26 00:23:49 UTC (rev 342)
+++ trunk/debian/changelog	2004-10-12 21:57:19 UTC (rev 343)
@@ -6,6 +6,10 @@
     + [JvW] Note the most likely cause for duplicate-conffile in the
       description (thanks Chris Anderson for running into this problem and
       asking me about it)
+  * checks/copyright-file:
+    + [JvW] Revert the extra pedantic check introduced in 1.23.0 that
+      complained about unstrict dependencies when one as a
+      /usr/share/doc/<package> that is a symlink (Closes: #249414)
   * checks/po-debconf:
     + [JvW] Don't give missing-file-from-potfile-in on empty lines
       (Thanks Adam Conrad for noticing)

Modified: trunk/testset/tags.foo++
===================================================================
--- trunk/testset/tags.foo++	2004-08-26 00:23:49 UTC (rev 342)
+++ trunk/testset/tags.foo++	2004-10-12 21:57:19 UTC (rev 343)
@@ -8,7 +8,6 @@
 E: foo++ source: uploader-address-missing Josip
 E: foo++ source: uploader-name-missing Yama@gotchi
 E: foo++ source: wrong-debian-qa-address-set-as-maintainer Lintian Maintainer <debian-qa@lists.debian.org>
-E: foo++-helper: usr-doc-symlink-without-dependency foo++
 E: foo++-helper: wrong-debian-qa-address-set-as-maintainer Lintian Maintainer <debian-qa@lists.debian.org>
 E: foo++: debian-changelog-file-contains-debmake-default-email-address
 E: foo++: debian-changelog-file-uses-obsolete-national-encoding at line 11

Modified: trunk/testset/tags.libbaz
===================================================================
--- trunk/testset/tags.libbaz	2004-08-26 00:23:49 UTC (rev 342)
+++ trunk/testset/tags.libbaz	2004-10-12 21:57:19 UTC (rev 343)
@@ -1,4 +1,3 @@
-E: libbaz1-dev: usr-doc-symlink-without-dependency libbaz1
 E: libbaz1: file-directly-in-usr-share-doc usr/share/doc/README.Debian
 E: libbaz1: ldconfig-symlink-missing-for-shlib usr/lib/libbaz2.so.1.0 usr/lib/libfoo2.so.1.0.3b libbaz2.so.1.0
 E: libbaz1: maintainer-shell-script-fails-syntax-check postinst



Reply to: