"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. regards, tom lane -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list