[PATCH] kernel metapackage shouldn't depend on subpackages we don't build

Josh Boyer jwboyer at fedoraproject.org
Mon May 19 13:21:33 UTC 2014


On Mon, May 19, 2014 at 3:18 AM, Dan HorĂ¡k <dan at danny.cz> wrote:
> On %{nobuildarches} we don't build the real kernel and modules, so don't set
> a Requires for them. The positive effect is that we can eliminate an explicit
> kernel Provides from the fake-build-provides package in secondary kojis.

The idea seems reasonable, but I get this when trying to build on x86_64:

[jwboyer at vader kernel]$ fedpkg local
error: ! only on numbers
error: /home/jwboyer/kernel/kernel.spec:405: bad %if condition
error: query of specfile /home/jwboyer/kernel/kernel.spec failed, can't parse

Could not execute local: need more than 0 values to unpack

josh


More information about the kernel mailing list