let rpm %patch not use default --fuzz=0 option -


I got an error in the L6 machine as the following:

  Patch # 4 ( Test.patch): + / bin / cat / path / tate / test. Patch + / USR / bin / Patch-S-P-Fuse = 0 out of 4 shanty failed - cancel saving file *** 1 out of 1 Hunk FAILED - saving *** rejecting the error file Poor exit status from /var/tmp/rpm-tmp.YERtKr (% PReP):   

However, I patch the file with the following as the following: < P> / usr / bin / patch -s -p0 & lt; /path/to/test.patch .

I think the RPM set - fuzz = 0 is by default to rpm as - fuzz = 0 option

From

there is no way to set

to:

try to make sure That matches your patch reference. The default "FEZ" value is "0", which requires exact match. You can work around it by adding % global _default_patch_fuzz 2 to bring back the value found in earlier versions of older RPMs in Fedora, but it is generally recommended to avoid doing this. .

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -