From efad7fc71f5f5b2a55f3d419350aa8dd583e0223 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 --- python3.6.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python3.6.spec b/python3.6.spec index 124193a..165f275 100644 --- a/python3.6.spec +++ b/python3.6.spec @@ -704,6 +704,9 @@ or older Fedora releases. %gpgverify -k2 -s1 -d0 %autosetup -S git_am -N -n Python-%{upstream_version} +# Temporary workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1954999 +%{?!apply_patch:%define apply_patch(qp:m:) {%__apply_patch %**}} + # Apply initial patches manually %apply_patch -q %{PATCH1}