Temporary workaround for missing %apply_patch in RPM 4.17 alpha

See https://bugzilla.redhat.com/show_bug.cgi?id=1954999
This commit is contained in:
Miro Hrončok 2021-05-04 08:46:51 +00:00 committed by Charalampos Stratakis
commit efad7fc71f

View file

@ -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}