From 7d865bd8c78a4ddc1fdef4fc01649bc69e457b4b Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Tue, 26 Feb 2019 09:45:13 -0500 Subject: [PATCH] Force python3 to be /usr/bin/python3, as /usr/libexec/platform-python is RH8-only (cherry picked from commit 1e5a7ffc64efb657bc8d60124fc14fa7d0a19892) --- mono-core.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/mono-core.spec b/mono-core.spec index 42059c7873..e3ac0290ee 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -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