summaryrefslogtreecommitdiffstats
path: root/tags/b/build-depends-on-1-revision.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/b/build-depends-on-1-revision.tag')
-rw-r--r--tags/b/build-depends-on-1-revision.tag10
1 files changed, 10 insertions, 0 deletions
diff --git a/tags/b/build-depends-on-1-revision.tag b/tags/b/build-depends-on-1-revision.tag
new file mode 100644
index 0000000..2673e2a
--- /dev/null
+++ b/tags/b/build-depends-on-1-revision.tag
@@ -0,0 +1,10 @@
+Tag: build-depends-on-1-revision
+Severity: warning
+Check: fields/package-relations
+Explanation: The package declares a build dependency on a version of a package
+ with a -1 Debian revision such as "libfoo (>= 1.2-1)". Such a
+ dependency will not be satisfied by a backport of libfoo 1.2-1 and
+ therefore makes backporting unnecessarily difficult. Normally, the -1
+ version is unneeded and a dependency such as "libfoo (>= 1.2)" would
+ be sufficient. If there was an earlier -0.X version of libfoo that would
+ not satisfy the dependency, use "libfoo (>= 1.2-1~)" instead.