[lug] simplest way to change ./configure in a .src.rpm?
ed at eh3.com
Tue May 6 15:31:59 MDT 2003
On Tue, 2003-05-06 at 15:13, D. Stimits wrote:
> I have an ncurses .src.rpm on RH 7.3 (KRUD) which I am rebuilding, but I
> want to change the spec file from configure option --without-debug to
> --with-debug. Running an rpm -i on the .src.rpm I can easily set it up
> to let me edit the spec, but of course the packaged .src.rpm, when I run
> --rebuild on it, overwrites the version I had saved. What is the
> absolutely most simple way to edit that spec file, and run a rebuild on
> the rpm using the modifed spec file, under RH 7.3/KRUD?
I think the command you want is "rpmbuild -ba specfile" which uses the
specfile that *you* specify, not the one in the source package.
Edward H. Hill III, PhD
Division of ESE, Colorado School of Mines, Golden, CO 80401
Email: ed at eh3.com ehill at mines.edu
URLs: http://cesep.mines.edu/people/hill.htm http://eh3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the LUG