From 7636db24d127095f4b1f6c71d8ca9e81e46aee99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 6 Sep 2022 11:37:28 +0200 Subject: [PATCH] Remove no longer needed %apply_patch workaround All supported Fedora releases have RPM 4.17+, so we can use %autopatch with a positional argument. --- python3.9.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python3.9.spec b/python3.9.spec index 6458f90..649ea74 100644 --- a/python3.9.spec +++ b/python3.9.spec @@ -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