Description
%patchN is obsolete; %patch -P N should be used instead for applying patches.
If a patch is being added to a spec file for the first time, the new %patch -P N format should be used by default. If the spec file already contains existing patches, use whichever format is currently established in that file.
Benefit
Prevents introducing obsolete code into spec files and suppresses warnings such as:
rhpkg defined %patchN compatibility shims to parse the spec file. %patchN is obsolete, use %patch -P N instead.
Importance
No response
Workaround
Participation
Description
%patchNis obsolete;%patch -P Nshould be used instead for applying patches.If a patch is being added to a spec file for the first time, the new
%patch -P Nformat should be used by default. If the spec file already contains existing patches, use whichever format is currently established in that file.Benefit
Prevents introducing obsolete code into spec files and suppresses warnings such as:
Importance
No response
Workaround
Participation