On Fri, 5 Mar 2004, Aaron Hanson wrote: > 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? > There is a lot stuff surrounding macro magic that is not documented. On the bright side, some folks are working on maximum rpm docs again, so its possible that stuff should make it in. Cheers...james > -Aaron > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list