[Fedora-packaging] %bits macro?

Jeremy Katz katzj at redhat.com
Sat Mar 1 01:31:46 UTC 2008


On Fri, 2008-02-29 at 19:28 -0600, Rex Dieter wrote:
> Orion Poplawski wrote:
> > It might me useful to have a %bits macro automatically set to 32 or 64 
> > as appropriate.  Does this seem useful or is there a better way?
> 
> shrug, I usually use something like:
> %define bits 32
> %if "%{_lib}" == "lib64"
> %define bits 64
> %endif

That doesn't cover all the cases -- neither alpha nor ia64 use lib64

Jeremy




More information about the Fedora-packaging mailing list