diff --git a/mono-core.spec b/mono-core.spec index d37f3a4a42..d4e5fe8c66 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -45,12 +45,12 @@ BuildRequires: krb5-devel BuildRequires: gettext BuildRequires: fdupes BuildRequires: gcc-c++ -%if 0%{?rhel} >= 8 -BuildRequires: python36 %define __python3 /usr/bin/python3 -%endif %if 0%{?rhel} < 7 +BuildRequires: python34 BuildRequires: devtoolset-2-toolchain +%else +BuildRequires: python3 %endif BuildRequires: libgdiplus-devel BuildRequires: libtool