From dfd0f2b7e87331c43f4bb3a1891dbde6e6247e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 30 Apr 2021 12:34:18 +0200 Subject: [PATCH] Temporary workaround for missing %apply_patch in RPM 4.17 alpha See https://bugzilla.redhat.com/show_bug.cgi?id=1954999 --- python3.9.spec | 3 +++ 1 file changed, 3 insertions(+) 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