+ echo 'Patch #1 (exmh-2.1.1-conf.patch.bz2):'
Patch #1 (exmh-2.1.1-conf.patch.bz2):
+ patch -p1 -b --suffix .conf -s
On 2010.0 the same thing results in this:
+ echo 'Patch #3 (exmh-2.7.0-conf.patch):'
Patch #3 (exmh-2.7.0-conf.patch):
+ /usr/bin/patch -U -s -p1 -b --suffix .conf --fuzz=0 \
-i /home_a8/local/src/INCOMING/SOURCES/exmh-2.7.0-conf.patch
The thing that breaks my RPM build is that the patch in question is a
unified patch, generated with diff's "-uNr" flags. But, Mandriva's
new definition of %__patch includes the "-U" flag, which patch's help
says does this:
-U --unified-reject-files Create unified reject files.
I'm not really sure what that means. But, the effect I see is that the
patches fail. If I intercept the build at the right point, then I can
patch the files without -U and it all works.
WORK AROUND: I created new context diff based patches using diff's
"-cNr" flags. Patches created this way seem compatible with the
patch flags in Mandriva's new %__patch definition.
I hope this helps somebody....
--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.