On Wed, Aug 26, 2009 at 11:55 PM, Andrea Musuruane <musuruan@gmail.com> wrote:
On Wed, Aug 26, 2009 at 4:59 PM, Till Maas<opensource@till.name> wrote:
> On Wed, Aug 26, 2009 at 09:12:40AM +0200, Andrea Musuruane wrote:
>
>> Therefore, to achieve the wanted result you should do something like this:
>>
>> %if 0%{?fedora} >= 12
>> ExclusiveArch: i686
>> %endif
>> %if 0%{?fedora} >= 11
>> ExclusiveArch: i586
>> %else
>> ExclusiveArch: i386
>> %endif
>
> This will afaics add ExclusiveArch: i686 and ExclusiveArch: i586 in all
> cases where %fedora is higher or equal to 12. Maybe the F11 line could
> be the following to work. The second %if should probably be in an %else
> section of the first %if.

On my discharge I have to say that you should do something **like**
this. I did the above in 2 sec. without reflecting very much :)

ok, thanks.  I even just added this to make sure it would work at all.  But its still trying to build for ppc:

ExclusiveOS:    linux
ExclusiveArch:  i386