/usr/share/lintian/checks/version-substvars.desc is in lintian 2.5.6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | Check-Script: version-substvars
Author: Adeodato Simó <dato@net.com.org.es>
Abbrev: v-s
Type: source
Needs-Info: debfiles
Info: This script checks for correct use of the various
<tt>*Version</tt> substvars, e.g. deprecated substvars,
or usage that can cause un-binNMUability
Tag: not-binnmuable-any-depends-any
Severity: important
Certainty: certain
Info: The package is not safely binNMUable because an arch:any package
depends on another arch:any package with a (= ${source:Version})
relationship. Please use (= ${binary:Version}) instead.
Tag: not-binnmuable-any-depends-all
Severity: important
Certainty: certain
Info: The package is not safely binNMUable because an arch:any package
depends on an arch:all package with a (= ${Source-Version}) or
(= ${binary:Version}) relationship. Please use (= ${source:Version})
instead.
.
Note this is also triggered if the dependency uses (>= ${var}),
since that has the same issue.
Tag: not-binnmuable-all-depends-any
Severity: important
Certainty: certain
Info: The package is not safely binNMUable because an arch:all package
depends on an arch:any package with a strict (= ${Source-Version}), or
similar, relationship.
.
It is not possible for arch:all packages to depend so strictly on
arch:any packages while having the package binNMUable, so please use
one of these, whichever is more appropriate:
.
Depends: arch_any (>= ${source:Version})
Depends: arch_any (>= ${source:Version}),
arch_any (<< ${source:Version}.1~)
Tag: version-substvar-for-external-package
Severity: important
Certainty: certain
Info: The first package has a dependency on the second package that uses
(= ${binary:Version}), (= ${source:Version}), or (= ${Source-Version}),
but the second package is not built from this source package. Usually
this means there is a mistake in the package name in this dependency.
Tag: substvar-source-version-is-deprecated
Severity: normal
Certainty: certain
Info: The package uses the now deprecated ${Source-Version} substvar,
which has misleading semantics. Please switch to ${binary:Version} or
${source:Version} as appropriate (introduced in dpkg 1.13.19, released
with etch). Support for ${Source-Version} may be removed from dpkg-dev
in the future.
|