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

lintian: r347 - in trunk: checks debian testset



Author: jeroen
Date: 2004-10-13 00:58:39 +0200 (Wed, 13 Oct 2004)
New Revision: 347

Modified:
   trunk/checks/fields.desc
   trunk/debian/changelog
   trunk/testset/tags.relations
Log:
checks/fields.desc:
+ [JvW] Adjust package-has-a-duplicate-relation to warning, and note that
  this sometimes happens to you when using ${shlibs:Depends}, and you
  shouldn't bother too much if that's the case (Closes: #274286)
  Thanks Peter Eisentraut for the suggestion


Modified: trunk/checks/fields.desc
===================================================================
--- trunk/checks/fields.desc	2004-10-12 22:52:17 UTC (rev 346)
+++ trunk/checks/fields.desc	2004-10-12 22:58:39 UTC (rev 347)
@@ -404,10 +404,14 @@
  Build-Depends-Indep.
 
 Tag: package-has-a-duplicate-relation
-Type: error
+Type: warning
 Info: The package seems to declare a relation on another package which is
  already implied by other relations it declares, and is therefore redundant.
- This is not only sloppy but can break some tools.
+ .
+ Note that when using ${shlibs:Depends}, this is sometimes unavoidable (unless
+ you're in a mood for ugly kludges), feel free to ignore/override this warning
+ in that case, as it can only be fixed at the package-tools level (e.g., in
+ dpkg)
 
 Tag: needlessly-depends-on-awk
 Type: error

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-10-12 22:52:17 UTC (rev 346)
+++ trunk/debian/changelog	2004-10-12 22:58:39 UTC (rev 347)
@@ -13,6 +13,11 @@
   * checks/debconf:
     + [JvW] Don't warn when you're not translation choices of a debconf
       question, it might not make sense (Closes: #262649)
+  * checks/fields.desc:
+    + [JvW] Adjust package-has-a-duplicate-relation to warning, and note that
+      this sometimes happens to you when using ${shlibs:Depends}, and you
+      shouldn't bother too much if that's the case (Closes: #274286)
+      Thanks Peter Eisentraut for the suggestion
   * checks/init.d:
     + [JvW] Don't warn for missing init.d scripts in package and conffile list
       if a variable is used instead of a real name (Closes: #264218)

Modified: trunk/testset/tags.relations
===================================================================
--- trunk/testset/tags.relations	2004-10-12 22:52:17 UTC (rev 346)
+++ trunk/testset/tags.relations	2004-10-12 22:58:39 UTC (rev 347)
@@ -11,7 +11,6 @@
 E: relations: needlessly-depends-on-awk depends
 E: relations: no-copyright-file
 E: relations: obsolete-field optional
-E: relations: package-has-a-duplicate-relation depends: relations, relations (<< 3)
 I: relations-multiple-libs: unknown-field-in-control bugs
 I: relations-multiple-libs: unknown-field-in-control origin
 I: relations: unknown-field-in-control bugs
@@ -22,6 +21,7 @@
 W: relations source: virtual-package-depends-without-real-package-depends build-depends: mail-transport-agent
 W: relations-multiple-libs: description-synopsis-might-not-be-phrased-properly
 W: relations-multiple-libs: redundant-origin-field
+W: relations: package-has-a-duplicate-relation depends: relations, relations (<< 3)
 W: relations: package-relation-with-self depends: relations
 W: relations: package-relation-with-self depends: relations (<< 3)
 W: relations: package-relation-with-self replaces: relations



Reply to: