[Fedora-packaging] %bits macro?

Rex Dieter rdieter at math.unl.edu
Sat Mar 1 01:59:40 UTC 2008


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?

-- Rex




More information about the Fedora-packaging mailing list