Re: Planning the Fedora 11 Mass Rebuild

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2009-02-13 at 15:49:03 -0500, Tom Lane <tgl@xxxxxxxxxx> wrote:
> "Tom \"spot\" Callaway" <tcallawa@xxxxxxxxxx> writes:
>> On 2009-02-13 at 15:16:17 -0500, Tom Lane <tgl@xxxxxxxxxx> 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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux