build targets

Andrea Musuruane musuruan at gmail.com
Wed Aug 26 17:55:13 CEST 2009


On Wed, Aug 26, 2009 at 4:59 PM, Till Maas<opensource at 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 :)

Thanks for your reply!

Bye,

Andrea.


More information about the rpmfusion-developers mailing list