summaryrefslogtreecommitdiffstats
path: root/tags/d/dbg-package-missing-depends.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/dbg-package-missing-depends.tag')
-rw-r--r--tags/d/dbg-package-missing-depends.tag16
1 files changed, 16 insertions, 0 deletions
diff --git a/tags/d/dbg-package-missing-depends.tag b/tags/d/dbg-package-missing-depends.tag
new file mode 100644
index 0000000..bd1a00e
--- /dev/null
+++ b/tags/d/dbg-package-missing-depends.tag
@@ -0,0 +1,16 @@
+Tag: dbg-package-missing-depends
+Severity: warning
+Check: fields/package-relations
+Explanation: The given binary package has a name of the form of "X-dbg", indicating it
+ contains detached debugging symbols for the package X. If so, it should
+ depend on the corresponding package, generally with (= ${binary:Version})
+ since the debugging symbols are only useful with the binaries created by
+ the same build.
+ .
+ Note that the package being depended upon cannot be "Architecture:
+ all".
+ .
+ If this package provides debugging symbols for multiple other
+ packages, it should normally depend on all of those packages as
+ alternatives. In other words, <code>pkga (= ${binary:Version}) | pkgb (=
+ ${binary:Version})</code> and so forth.