On Sat, 22 Nov 2014 21:51:37 +0100
Florian Weimer <fw(a)deneb.enyo.de> wrote:
* Michael Stapelberg:
> Interesting. Do you have a pointer to an example (and/or more
> documentation) for this happening in the wild?
glibc has architecture-specific build dependencies.
However, many packages use non-trivial things for unpacking the
sources (the %prep stage), and you have to install the build depencies
before you can complete the %prep stage. I have written a mock
wrapper to do this, but it's not completely reliable due to dangling
A classic case is a package where some optional buildrequires isn't
available on some arch, like armv7. So, the spec conditionalizes this
buildrequires to not be there on armv7. Now if you make the src.rpm on
a armv7 platform that dep won't be there, but if you make it on x86 it