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

Re: how to rebuild from src.rpm while patching the Makefile



On Wed, 26 Mar 2003, Matthias Saou wrote:

> I'd recommend:
> 
> 1) Go into SOURCES, unpack the tarball, and duplicate it as <dirname>.orig
> 2) Edit the files that need to be changed in the unpacked <dirname> tree
> 3) Execute "diff -Naupr <dirname>.orig <dirname> > <dirname>-blabla.patch"
> 4) Add a "SourceX: <dirname>-blabla.patch" to the spec file
> 5) Add the "%patchX -p1 -b .blabla" to the %prep in the spec
> 
> Then rebuild at last! :-)

only change i made was to add a "Patch1:", not "Source1:" to the 
spec file.  does that make sense?  thanks for the recipe.

rday





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