Putting --fuzz=0 into rpmbuild on older versions?

Dave Jones davej at redhat.com
Sun Jul 27 21:08:28 UTC 2008


On Sun, Jul 27, 2008 at 02:31:45PM -0400, Tom Lane wrote:
 > So, sure enough, I got blindsided by the fact that rawhide's RPM now
 > applies patches with --fuzz=0.  I don't object to tightening the policy
 > like that, but it's pretty unhappy-making that having tested an SRPM on
 > my Fedora 9 system offers no protection against the koji build failing.
 > 
 > I looked around for a place to inject --fuzz=0 into the patch arguments
 > on F-9, and couldn't find one.  Is the definition of %patch really
 > hardwired into rpmbuild? 

Yes.
See the ApplyPatch macro in the kernel specfile for a way to work
around it.  We've been doing fuzz=0 patches since circa fc7 after
a fuzzy patch caused a "can't boot" regression that was a nightmare
to track down.

	Dave

-- 
http://www.codemonkey.org.uk




More information about the fedora-devel-list mailing list