[SCM] Debian package checker branch, master, updated. 2.1.0-14-g10d6ceb
The following commit has been merged in the master branch:
commit 10d6ceb98e5b563855ce2a81dad59ed16e587458
Author: Russ Allbery <rra@debian.org>
Date: Thu Dec 4 13:16:26 2008 -0800
Improve the recommendation for debug package dependencies
* checks/fields.desc:
+ [RA] Improve the recommendation for dependencies in debug packages
to include the case of a debug package corresponding to multiple
other packages.
diff --git a/checks/fields.desc b/checks/fields.desc
index 0998e9f..21c35e3 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -734,6 +734,17 @@ Info: This package has a name of the form of "X-dbg", indicating it
depend on the corresponding package, generally with (= ${binary:Version})
since the debugging symbols are only useful with the binaries created by
the same build.
+ .
+ If this package provides debugging symbols for multiple other
+ packages, it should normally depend on all of those packages as
+ alternatives. In other words, <tt>pkga (= ${binary:Version}) | pkgb (=
+ ${binary:Version)</tt> and so forth. Provided that the non-dbg portion
+ of the package name matches a prefix of the names of the packages on
+ which it depends, Lintian should be able to recognize this dependency as
+ correct.
+ .
+ In some cases, it may be necessary to override this tag because Lintian
+ can't tell the correct dependency is in place.
Tag: conflicts-with-dependency
Severity: important
diff --git a/debian/changelog b/debian/changelog
index 8ebbe2a..7d6d0c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,10 @@ lintian (2.1.1) unstable; urgency=low
* checks/changelog{,.desc}:
+ [ADB] Warn when the version of a package changes to Debian native.
Based on a patch by Michal Čihař. (Closes: #504070)
+ * checks/fields.desc:
+ + [RA] Improve the recommendation for dependencies in debug packages
+ to include the case of a debug package corresponding to multiple
+ other packages.
* checks/patch-systems{,.desc}:
+ [ADB] Don't complain about a missing quilt build-dependency if
the package contains a directory named debian/patches/series.
--
Debian package checker
Reply to: