From 10fe1a9ce92d4e78add6f3b961d0600a9e72fe51 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Thu, 20 May 2021 00:09:06 +0200 Subject: [PATCH] Temporary workaround for missing %apply_patch in RPM 4.17 alpha --- pypy3.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pypy3.spec b/pypy3.spec index 79848ea..57590db 100644 --- a/pypy3.spec +++ b/pypy3.spec @@ -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}