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

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

 



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.

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


[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