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

Re: rpm 4.1.1 and _arch



Matthias Saou wrote:

Hi,

Just a quick question (probably for Jeff). With rpm 4.1.1, when I use
rpmbuild directly on x86, %{_arch} is set to "i386" by default, but when
using "--target i386", it is set to "noarch". Seems quite confusing, or am
I missing something?



target_cpu is probably what you are looking for rather than arch.


_arch == noarch. if just 4.1.1, there's something screwy in the config. equally likely
that its been there for years.


I noticed this because %{_arch} is used in the Red Hat kernel 2.2 spec file
and I tried forcing an i386 build.


73 de Jeff










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