Temporary workaround for missing %apply_patch in RPM 4.17 alpha

This commit is contained in:
Charalampos Stratakis 2021-05-20 00:09:06 +02:00
parent 7e40fae162
commit 10fe1a9ce9

View File

@ -306,6 +306,8 @@ Build of PyPy3 with support for micro-threads for massive concurrency
%prep
%autosetup -n pypy%{pyversion}-v%{version}-src -p1 -S git
# Temporary workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1954999
%{?!apply_patch:%define apply_patch(qp:m:) {%__apply_patch %**}}
%if %{with rpmwheels}
%apply_patch -m %(basename %{SOURCE189}) %{SOURCE189}