Trying the development list.



In the rebuilding phase of packages from .src.rpm sometimes small bugs
show up, that are easily fixed by small changes to the source
files. Going from there to the %install phase can be done with the
--short-circuit switch, i.e.

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

>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, ...)!!!

Do you at RedHat work with src.rpms in this way??

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

Pros/cons??

Hoping to be able to contribute to bug fixing.
Svante Signell


Reply via email to