[lug] simplest way to change ./configure in a .src.rpm?

Ed Hill 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?

Hi Dan,

I think the command you want is "rpmbuild -ba specfile" which uses the
specfile that *you* specify, not the one in the source package.

good luck,
Ed

-- 
Edward H. Hill III, PhD 
Post-Doctoral Researcher
Division of ESE, Colorado School of Mines, Golden, CO 80401
Email: ed at eh3.com  ehill at mines.edu
Phone: 303-273-3483
URLs:  http://cesep.mines.edu/people/hill.htm  http://eh3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20030506/34ea0362/attachment.pgp>


More information about the LUG mailing list