Prevent package builds on certain architectures

Björn Persson bjorn at xn--rombobjrn-67a.se
Thu Apr 4 15:37:10 UTC 2013


Juerg Haefliger wrote:
> BuildArch: noarch
> 
> %if 0%{?rhel}
> # Only build on x86_64 for EPEL because qemu-img only exists for that arch
> ExclusiveArch: x86_64
> %endif

[...]

> error: Architecture is not included: noarch

Try "ExclusiveArch: noarch x86_64".

Björn Persson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130404/d1ae142b/attachment.sig>


More information about the devel mailing list