sopwith(a)redhat.com (Elliot Lee) writes:
> E.g. the src.rpm from 'rpmbuild -bs ... --target=i386'
with
>
> | %ifarch %ix86
> | BuildRequires: dietlibc
> | %endif
>
> will have other deps than the build for the x86_64 arch.
This is a reason why rpm needs proper per-arch buildrequires.
A .src.rpm is usually architecture-independent and you generate binaries
for all possible architectures out of a single src.rpm. '--define' options
or '%(execute-a-dirty-script)' statements must be handled also since they
can influence the buildrequires.
Enrico