Bug#883852: wrong error for usr-share-doc-symlink-without-dependency with qualified :any packages
Matthias Klose <doko@debian.org> writes:
> python-examples
> E usr-share-doc-symlink-without-dependency
> python
> $ dpkg -I ../python-examples_2.7.14-3_all.deb |grep Depends
> Depends: python:any (>= 2.7.14-3), python2.7-examples (>= 2.7.14-1~)
lothlorien:~$ lintian-info -t usr-share-doc-symlink-without-dependency
E: usr-share-doc-symlink-without-dependency
N:
N: If the package installs a symbolic link /usr/share/doc/<pkg1> ->
N: <pkg2>, then <pkg1> must depend on <pkg2> directory, with the same
N: version as <pkg1>.
A >= relation doesn't cut it. It has to be =. This is fallout from the
requirement that packages include a changelog for that specific version of
the package. It's in Policy, but it's semi-hidden in a footnote (and it
looks like the current www.debian.org publication of Policy has broken all
the footnote links because the multi-page Policy document isn't published
anywhere...).
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: