I am trying to make a SPEC file, but need to patch the source files before
building the RPM. I have unpacked the source files into two folders package
and package.orig. I ran diff -ruHp (orig source dir) (modified source dir) >
patch.file to make the patch. Then I copied the patch file to the SOURCES
folder.

In my spec file I have the %setup command and then %patch -p0 -b .orig, but
when I try to build the package the system always asks what file I am trying
to patch. Does anyone have any idea what I am missing.

I don't know if this will help and I can not get to the file at the moment,
but my patch starts with two lines similar to the following:

--- jabber-1.2.orig/configure <dates>
+++ jabber-1.2/configure <dates>

I thought this would tell RPM what files to patch, but I must have missed
something.

Thanks,
Chad



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to