From dfd0f2b7e87331c43f4bb3a1891dbde6e6247e1c Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Apr 30 2021 10:34:18 +0000 Subject: Temporary workaround for missing %apply_patch in RPM 4.17 alpha See https://bugzilla.redhat.com/show_bug.cgi?id=1954999 --- diff --git a/python3.9.spec b/python3.9.spec index ed03893..099d20d 100644 --- a/python3.9.spec +++ b/python3.9.spec @@ -725,6 +725,9 @@ version once Python %{pybasever} is stable. %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} rm Lib/ensurepip/_bundled/*.whl %endif