On Thu, 09 Aug 2001 18:38:08 +0200
Gr�goire Colbert <[EMAIL PROTECTED]> wrote:

> Argh,
> 
> Suppose you have two files : genuine.mk and modified.mk. How do you 
> create a patch for RPM to build? I have tried :
> diff -u genuine.mk modified.mk > mypatch
> Then in the Patch: field I put "mypatch", but it asks me "What file
to 
> patch" during %install. Where am I wrong?

I use diff -uNr
I wouldn't exactly know the difference, i guess the man page could
tell that.

I believe the default place for %patch would be after %setup.
You should fiddle with the -p0 or -p1 option, depending on where in
the directory-tree you are.



--
Marcel Pol
[EMAIL PROTECTED]



Reply via email to