Red Hat Bugzilla – Bug 243720
rpmbuild doesn't allow passing -F<n> option to %patch
Last modified: 2007-11-30 17:12:07 EST
Spotted from davej's blog:
"So far, nothing really amazing, just a rebase to 2.6.22rc4, and some specfile
jiggery-pokery to move away from using rpm's %patch directive to a hand crafted
macro that allows patch application with -F1
(%patch won't let you pass arbitrary flags to patch(1), and the code in rpm to
handle this made my eyes bleed).
The benefits of patches with no fuzz should be obvious, the diffs end up
applying in the right places. This has caused problems in the past to the extent
where we had one bug that made the kernel not boot."
Very sad that a kernel developer's eyes bleed so much that he can't read "man 1 patch" anymore.
UPSTREAM and the other fork too, fixed.
Fixed in next rawhide push by rpm 126.96.36.199-rc1