RE: How can I change some values within the spec file during rpmbuild?

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

 



On Fri, 5 Mar 2004 James Olin Oden wrote:

>> All,
>> 
>> How can I change something within the spec file while building the
>> rpm package using rpmbuild command?
>>
... 
>One approach, of which their are many variants are to use the %()
macro. 

I use the --define option to rpmbuild all the time, ex:
rpmbuild -bb --define 'release 4.5' ...

After reading this question, I was surprised to find this option omitted
from --help and the man page (I use rpmbuild 4.2). Anyone know why this
isn't documented?

-Aaron


_______________________________________________
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