lintian: r748 - in trunk: checks debian
Author: rra
Date: 2006-09-19 04:57:40 +0200 (Tue, 19 Sep 2006)
New Revision: 748
Modified:
trunk/checks/fields.desc
trunk/debian/changelog
Log:
* checks/fields.desc:
+ [RA] Improve the long descriptions of the warnings about dependencies
on essential or build-essential packages to make it clearer that the
correct resolution is normally to omit the dependency and why.
Modified: trunk/checks/fields.desc
===================================================================
--- trunk/checks/fields.desc 2006-09-17 02:05:36 UTC (rev 747)
+++ trunk/checks/fields.desc 2006-09-19 02:57:40 UTC (rev 748)
@@ -392,17 +392,21 @@
Type: error
Ref: policy 3.5
Info: The package declares a depends on an essential package, e.g. dpkg,
- without using a versioned depends. In general a package should not depend on
- essential packages but if it must do so, the depends should have a version
- string.
+ without using a versioned depends. Packages do not need to depend on
+ essential packages; essential means that they will always be present.
+ The only reason to list an explicit dependency on an essential package
+ is if you need a particular version of that package, in which case the
+ version should be given in the dependency.
Tag: build-depends-on-essential-package-without-using-version
Type: error
Ref: policy 4.2
Info: The package declares a build-depends on an essential package, e.g. dpkg,
- without using a versioned depends. In general a package should not
- build-depend on essential packages but if it must do so, the build-depends
- should have a version string.
+ without using a versioned depends. Packages do not need to build-depend on
+ essential packages; essential means that they will always be present.
+ The only reason to list an explicit dependency on an essential package
+ is if you need a particular version of that package, in which case the
+ version should be given in the dependency.
Tag: virtual-package-depends-without-real-package-depends
Type: warning
@@ -432,11 +436,14 @@
Tag: depends-on-build-essential-package-without-using-version
Type: error
+Ref: policy 4.2
Info: The package declares a depends on a build essential package without
- using a versioned depends. In general a package should not depend on
- build essential packages but if it must do so, the depends should have a
- version string.
-Ref: policy 4.2
+ using a versioned depends. Packages do not have to build-depend on any
+ package included in build-essential. It is the responsibility of anyone
+ building packages to have all build-essential packages installed. The
+ only reason for an explicit dependency on a package included in
+ build-essential is if a particular version of that package is required,
+ in which case the dependency should include the version.
Tag: package-depends-on-an-x-font-package
Type: error
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-09-17 02:05:36 UTC (rev 747)
+++ trunk/debian/changelog 2006-09-19 02:57:40 UTC (rev 748)
@@ -3,6 +3,10 @@
* checks/debconf:
+ [CW] Don't trigger partially-translated-question when Choices-C exists
but not Description-C.
+ * checks/fields.desc:
+ + [RA] Improve the long descriptions of the warnings about dependencies
+ on essential or build-essential packages to make it clearer that the
+ correct resolution is normally to omit the dependency and why.
* checks/files:
+ [RA] Don't consider files named license.rb to be extraneous
licenses. Patch from NIIBE Yutaka. (Closes: #387269)
Reply to: