Temporary workaround for missing %apply_patch in RPM 4.17 alpha

See https://bugzilla.redhat.com/show_bug.cgi?id=1954999
This commit is contained in:
Miro Hrončok 2021-04-30 12:34:18 +02:00
parent 1bbe5be624
commit dfd0f2b7e8

View File

@ -725,6 +725,9 @@ version once Python %{pybasever} is stable.
%autopatch -M 188 %autopatch -M 188
%if %{with rpmwheels} %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} %apply_patch -q %{PATCH189}
rm Lib/ensurepip/_bundled/*.whl rm Lib/ensurepip/_bundled/*.whl
%endif %endif