rpmbuild python bindings

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Mon Jan 3 19:52:49 UTC 2005


sopwith at 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




More information about the fedora-devel-list mailing list