Re: rpmbuild and custom patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-03-30 at 09:23 +0300, Omer Faruk Sen wrote:
> 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?

Add and apply your patches in the spec so that they will be applied when
%prep is done.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux