how to detect 64 bit architecture in rpm spec?

John Dennis jdennis at redhat.com
Tue May 10 14:07:06 UTC 2005


On Tue, 2005-05-10 at 15:45 +0200, jfontain at free.fr wrote:
> What is the best way to test that the architecture is 64 bit based?
> %ifarch?
> 
> PS: I need that because a bug was fixed in Tcl 8.4.8 on 64 bit machines and I
> need to require that version on such architectures.

I would suggest you just require Tcl >= 8.4.8 and not try to
conditionalize on the arch, its cleaner and less error prone.
-- 
John Dennis <jdennis at redhat.com>




More information about the fedora-extras-list mailing list