rpmbuild and custom patch

Omer Faruk Sen omer at faruk.net
Thu Mar 30 06:23:34 UTC 2006


Hi,

I want to build a customized version of a source rpm. I have my own patches

I do
# rpmbuild -bp --target i686 *.spec

patch BUILD/PACKAGE and after that when I do  rpmbuild -bc --target i686
it deletes my patched BUILD/Package directory and starts from scratch. How
can I just %build and after that how can I just %install? Since -bc and
-bi also applies -bp (%prep) and deletes my patched source rpm?

Best Regards.



-- 
Omer Faruk Sen
http://www.faruk.net




More information about the fedora-list mailing list