[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#249414: lintian: Fails to detect usr-doc-symlink



On 2004-07-02 Matthias Klose <doko@cs.tu-berlin.de> wrote:
> Enforcing the exact dependency via depends is a bad thing, seen from a
> practical side. auto builders cannot get the dependencies on any/all
> combinations done unless all architectures have catched up
> (i.e. gcc-3.X runs a testsuite on build, which depends on locales).

[Keeping the long cc-list, except for Mathias as _he_ moved this to
the list. ]
Indeed. See e.g.
http://lists.debian.org/debian-policy/2004/01/msg00034.html

lintian should not try to be more strict than policy for
/usr/share/doc symlinks, policy only requires "/usr/share/doc/package
may be a symbolic link to another directory in /usr/share/doc only if
the two packages both come from the same source and the first package
Depends on the second."

On a sidenote we've done away with the =depends in libgnome2-common by
using this in debian/rules

upstream-version :=  $(shell dpkg-parsechangelog | sed -n  '/^Version: /{s/^Version: \(.\+\)-[^-]\+/\1/;p;}')
DEB_DH_GENCONTROL_ARGS := -- -VUpstream-Version=$(upstream-version)

and this in debian/control
Depends: ... libgnome2-common (>= ${Upstream-Version}), libgnome2-common (<< ${Upstream-Version}.0-0)

any suggestions for improvement?
              cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"



Reply to: