Created attachment 881659 [details] reproducer If the patch does not contain following header: --- a/src/file.h +++ b/src/file.h patching looks like this, but the file is not patched: $ patch -p1 < file-5.11-maxmime.patch ; echo $? patching file src/file.h 0 This can cause problems during rpmbuild when the broken patch looks like the proper one, but files are not patched in the end.
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
In general, hand-edited patches will always cause issues like this because damage cannot always be detected. In this particular case, I agree it's unexpected.