Re: Source rpm's have %{arch} set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 May 2005, Jos Vos wrote:

On Mon, May 30, 2005 at 11:07:54AM +0300, Panu Matilainen wrote:

BuildRequires can vary between architectures, SRPM built on x86 might have
somewhat different requirements than SRPM built on s390 for example.

The BuildRequires is meant for generating the *binary* rpms and should
be only checked when generating a binary rpm.

That they are now also checked if you do *only* a "rpmbuild -bs" is
another issue, but "-bs --nodeps" is an easy workaround.

If you put BuildRequires between %ifarch's, the same src.rpm works
fine on different architectures.

That's the point I was making: the SRPM can have different requirements across architectures if you check it's dependencies for example for purposes of installing build dependencies of a given SRPM. So the SRPM can have differences based on the arch it was built on, hence the arch of an SRPM does have *some* meaning to it. :)

	- Panu -


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux