From f4b6d8de2a6febeb9a3127ba591a1e68905c2095 Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Tue, 8 Feb 2022 10:27:50 -0500 Subject: [PATCH] rhel7 macros are old --- chromium.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chromium.spec b/chromium.spec index be223d86..ba75d500 100644 --- a/chromium.spec +++ b/chromium.spec @@ -37,7 +37,11 @@ %global build_with_python3 1 %if 0%{?build_with_python3} +%if 0%{?rhel} == 7 +%global chromium_pybin /usr/bin/python3 +%else %global chromium_pybin %{__python3} +%endif %else %global chromium_pybin %{__python2} %endif