Remove no longer needed %apply_patch workaround

All supported Fedora releases have RPM 4.17+,
so we can use %autopatch with a positional argument.
This commit is contained in:
Miro Hrončok 2022-09-06 11:37:28 +02:00
parent 009e4351fd
commit 7636db24d1

View File

@ -777,10 +777,7 @@ that support it, such as CentOS or RHEL or older Fedora releases.
%autopatch -M 188
%if %{with rpmwheels}
# Temporary workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1954999
%{?!apply_patch:%define apply_patch(qp:m:) {%__apply_patch %**}}
%apply_patch -q %{PATCH189}
%autopatch 189
rm Lib/ensurepip/_bundled/*.whl
%endif