Do not BuildRequires: glibc-kernheaders

Arjan van de Ven arjan at fenrus.demon.nl
Thu May 18 01:39:30 UTC 2006


On Wed, 2006-05-17 at 23:46 +0200, David Woodhouse wrote:
> The glibc-kernheaders packages provides 'kernel-headers'. If you need to
> require a specific _version_, you should use that.
> 
> But if you just need to require that it exists, you don't need to do
> anything -- the standard gcc development packages depend on it.
> 
> If there's a file missing from /usr/include/linux or /usr/include/asm
> when you try to build, that's either a bug in the glibc-kernheaders
> package, or a bug in the package you're trying to build. If it's a
> kernel header you _should_ be using from userspace, assume the former
> and file a bug against glibc-kernheaders. If the latter, fix it not to
> include kernel headers.
> 
> Do _NOT_ add 'BuildRequires: glibc-kernheaders' to any packages. That
> will break. Soon.

you should be able to require the exact header file if you need
something exotic ;)

Requires: /usr/include/linux/silly.h

like that.. and it'll pull in whatever package provides it..




More information about the fedora-devel-list mailing list