Pablo Saratxaga wrote:
> %ifarch xxx
> and exlusivearch: xxx
>
> use $RPM_BUILD_ARCH in fact, and not %{_arch}.
>
> maybe that should indeed be changed on the rpm source code.
> But a way to distinguish different cpus is needed too.
True. But for example, in the kernel spec there is a lot of
%ifarch i386 i486 i586 i686 k6 k7
But notice these are all i386 compatible, now what could we use?
if [ $RPM_BUILD_ARCH = "i386" ]; then ... endif? It seems so stupid to
need to specify, 5 different archs when they are essentially the same.
--
Sincerely,
David Walluck
<[EMAIL PROTECTED]>