Re: Removal of not+kfreebsd and linux-gnu dependency, bugs already filled
On Fri, 2010-07-02 at 10:48:44 -0500, Peter Samuelson wrote:
> [Sebastian Andrzej Siewior]
> > Since Debian-Policy 3.9.0 architecture wild cards are allowed so this
> > dependency would become
> > libudev-dev (>= 0.139) [linux-any]
> > and the type-handling aliases (which are hack according to #585767)
> > could go. Based on this and the fact that some packages are already
> > using them I filled some bugs .
> Policy only allows these wildcards for the build-time fields. In
> libgnomevfs2-dev (subject of bug 587877), it is a regular Depends:, and
> your wildcard solution will not work.
Policy will be allowing this in next revision (3.9.0+).
> Unless, that is, dpkg-gencontrol expands the wildcard appropriately at
> build time - but I don't think it does.
Yes, dpkg-gencontrol does trim the architecture restrictions on binary
dependency fields, and removes the dependencies if they are not
fullfilled for the host architecture. See #400322 for further details.