> 
> rpm --rebuild file.src.rpm
> Bugs show up.
> Fix them.
> rpm -bi SPECS/file.spec

That unpacks the source and applies patches
> 
> >From there I cannot find a way forward, since no .i386.rpm file is
> created.  The only thing to do is to manually issue the 'make install'
> command from the build directory, but this does not necessarily
> install the same files at the same locations as specified in the file
> .spec file, or does it??
> 
> Do I have to start from the beginning again, creating a patch file to
> add to the file.spec file??? This seems to be very cumbersome, especially
> regarding that some packages take hours to compile (kernel, XFree86, ...)!!!

You got it.
> 
> Do you at RedHat work with src.rpms in this way??

I imagine RH developers only try to build rpms when they have a successful 
build.
> 
> What about --short-circuit also for the -bb, -bs and -ba switches??
> 
> Or better though, introduce stamping of different build stages:
> %prep
> %setup
> %build
> %install
> %doc
> %files
> %clean
> etc

I suppose, but haven't tried, you could have a spec file where %prep is a 
noop. Use the real one when you're ready to fly.


-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.


-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to