<pre>I just wanted to clarify this, what will happen if I use %{ix86} anyways?  why not just hardcode i686 in then?  <br>I see most other packages are i686 already.<br><br><br><br>&gt;<i> On Wed, 26 Aug 2009 14:22:29 +0800, solarflow99 wrote:<br>
</i>&gt;<i><br></i>&gt;&gt;<i> yes, I noticed my builds are going ppc, etc.  All my program works with is<br></i>&gt;&gt;<i> i386, its not able to build on other platforms.<br></i>&gt;<i><br></i>&gt;<i> ExclusiveArch: i386<br>
</i><br>This answer is of course correct, but I think you meant that you<br>wanted to build for ix86 only. That is i386 for F-10, i586 for F-11<br>and i686 for devel.<br><br>You would normally use this:<br>ExclusiveArch: %{ix86}<br>
<br>But this do not work in plague. Plague would build for ALL ix86 arch available.<br><br>Therefore, to achieve the wanted result you should do something like this:<br><br>%if 0%{?fedora} &gt;= 12<br>ExclusiveArch: i686<br>
%endif<br>%if 0%{?fedora} &gt;= 11<br>ExclusiveArch: i586<br>%else<br>ExclusiveArch: i386<br>%endif<br><br>It&#39;s ugly but it works.<br><br>Bye,<br><br>Andrea.<br></pre>