From 6de17f6f9d2317d2cade2066dccb9dd6b19ad384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 4 May 2021 08:46:51 +0000 Subject: [PATCH] Temporary workaround for missing %apply_patch in RPM 4.17 alpha See https://bugzilla.redhat.com/show_bug.cgi?id=1954999 --- pypy.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pypy.spec b/pypy.spec index 725e7a9..e692c7c 100644 --- a/pypy.spec +++ b/pypy.spec @@ -384,6 +384,9 @@ Build of PyPy 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} rm lib-python/2.7/ensurepip/_bundled/*.whl