[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpmbuild command line override spec file %define



On 5/22/06, Matthias Saou
<thias spam spam spam spam spam spam spam egg and spam freshrpms net>
wrote:

The cleanest is probably :

%define build_ada 0%{!?_without_ada:1}

Which will evaluate to 01 if you don't have _without_ada and to zero if
you do have it defined.

To disable ada you then just pass "--without ada" to rpmbuild, and ada
being enabled still is the default.

Matthias


to me, this seems tasty. I'll try that right away, thanks

--
Cheers,

/ChJ


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]