Remove deprecated %patchN syntax

This commit is contained in:
Maxwell G 2024-01-15 20:23:35 +00:00
parent 136627841e
commit e94653c40e
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

View File

@ -68,9 +68,9 @@ This package contains %{summary}.
# the tests were moved outside of %%{modname} directory upstream after 2.8.2 # the tests were moved outside of %%{modname} directory upstream after 2.8.2
# so we apply the patch with new paths from within it # so we apply the patch with new paths from within it
pushd %{modname}/test pushd %{modname}/test
%patch1 -p2 %patch -P1 -p2
popd popd
%patch2 -p2 %patch -P2 -p2
iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new
mv NEWS.new NEWS mv NEWS.new NEWS