Planning the Fedora 11 Mass Rebuild

Tom "spot" Callaway tcallawa at redhat.com
Fri Feb 13 20:50:38 UTC 2009


On 2009-02-13 at 15:49:03 -0500, Tom Lane <tgl at redhat.com> wrote:
> "Tom \"spot\" Callaway" <tcallawa at redhat.com> writes:
>> On 2009-02-13 at 15:16:17 -0500, Tom Lane <tgl at redhat.com> wrote:
>>> Hmm, I've got some specfiles that pay attention to the output of "uname -i".
>>> Should I expect that that might change from i386?  Is there a different
>>> more-recommended way to get the arch type in a build script?
> 
>> Well, I don't think the uname -i will change, but the rpm target will
>> now be 586, so, they're not going to match anymore, where they did
>> before. You might be able to use %{_target_cpu} instead. It really will
>> depend on what value you're trying to get.
> 
> I want to get "i386" or "x86_64", etc.  This is to be able to assign
> appropriate names to files that vary between 32- and 64-bit builds
> for multilib safety.

Then uname -i is your best bet, I think.

~spot




More information about the devel mailing list