Force python3 to be /usr/bin/python3, as /usr/libexec/platform-python is RH8-only

This commit is contained in:
Jo Shields 2019-02-26 09:45:13 -05:00
parent 261d758be3
commit 1e5a7ffc64

View File

@ -47,6 +47,7 @@ BuildRequires: fdupes
BuildRequires: gcc-c++
%if 0%{?rhel} >= 8
BuildRequires: python36
%define __python3 /usr/bin/python3
%endif
%if 0%{?rhel} < 7
BuildRequires: devtoolset-2-toolchain