Re: rpmbuild command line override spec file %define

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

 



On 5/22/06, Matthias Saou
<thias@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux