Bug#418444: debian-policy: recommend binary:Version substvar instead
Package: debian-policy
Version: 3.7.2.2
Severity: wishlist
Tags: patch
Hi,
Starting from dpkg 1.13.19 the substvar Source-Version is deprecated,
and it should be replaced by either binary:Version or source:Version
which have clearer defined semantics. The policy is currently
recommending the old subsvar, so attached is a patch updating it.
regards,
guillem
--- policy.sgml 2006-10-03 01:36:50.000000000 +0300
+++ policy.sgml 2007-04-09 21:40:45.000000000 +0300
@@ -4711,7 +4711,9 @@ Replaces: mail-transport-agent
Typically the development version should have an exact
version dependency on the runtime library, to make sure that
compilation and linking happens correctly. The
- <tt>${Source-Version}</tt> substitution variable can be
+ <tt>${binary:Version}</tt><footnote>Note that the
+ <tt>${Source-Version}</tt> subsitution variable is deprecated
+ since dpkg 1.13.19</footnote> substitution variable can be
useful for this purpose.
</p>
</sect>
Reply to: