Bug#585767: Dependencies on linux-gnu or not+linux-gnu do not match armel or powerpcspe correctly
On Mon, 2010-06-21 at 20:35:14 +0200, Sebastian Andrzej Siewior wrote:
> * Aurelien Jarno | 2010-06-14 12:00:14 [+0200]:
> > > libudev-dev (>= 0.139) | not+linux-gnu,
> > > libhal-dev (>= 0.5.10) | linux-gnu,
> > I don't think it's a bug. The system type on those architectures is
> > "linux-gnuspe" or "linux-gnueabi", not "linux-gnu". If you only want to
> > match on the OS, you should use the "linux" and "not+linux" instead.
> So I'm going to mass open bugs against every package which uses
> linux-gnu and tell them to use linux-any which becomes policy once
> #530687. Is this intended? There is actually no reason to use linux-gnu
> instead of linux-any, is there?
Nope, arch wildcards are just superior.
> Does the new policy make type-handling obselete since dpkg provides it?
Mostly, type-handling should eventually disappear, as Aurelien has said
it's just a hack. But, there's one case where it might unfortunately
still be needed, which is an arch:all package conditionally depending
on arch:foo packages only on the foo architecture.