Kaixo!

On Tue, Jan 25, 2000 at 02:51:21AM -0500, David Walluck wrote:

> > %ifarch xxx
 
> 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?

$RPM_BUILD_ARCH is the wrong thing to check.
maybe 

if [ "%{_arch}" = "i386" ]; then
        ....
endif

would work.


-- 
Ki �a vos v�ye b�n,
Pablo Saratxaga

http://www.ping.be/~pin19314/           PGP Key available, key ID: 0x8F0E4975

Reply via email to