Re: Arch-specific Requires

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

 



tis 2010-07-06 klockan 11:40 -0400 skrev Tom "spot" Callaway:

> Lets say you have BuildRequires: foo%{?_isa}. Koji makes the SRPM on a
> ppc builder, so %{_isa} is evaluated as (ppc-32). The SRPM is then
> handed to an x86_64 builder to build for x86_64, but it cannot meet the
> BuildRequires because foo(ppc-32) is not found.
> 
> ~spot

This is not how it works.

rpmbuild re-evaluates the BuildRequires from the specfile inside the
SRPM, it does not use the SRPM's Requires. Having %{?_isa} in
BuildRequires tags is perfectly legal - and advisable to have if you
want your SRPMs to be buildable in a multiarch environment.

	Mattias

Attachment: smime.p7s
Description: S/MIME cryptographic signature

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux