[Fedora-packaging] %bits macro?

Jeremy Katz katzj at redhat.com
Sat Mar 1 02:01:13 UTC 2008


On Fri, 2008-02-29 at 19:59 -0600, Rex Dieter wrote:
> Jeremy Katz wrote:
> > 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
> 
> Joy.  I assume lib64 is only used when multilib is required then?

Yes[1]

Jeremy

[1] Ignoring the absolute atrocity that is the x86 on ia64 stuff.  Which
really... too disgusting for words




More information about the Fedora-packaging mailing list