rhel7 macros are old

This commit is contained in:
Tom spot Callaway 2022-02-08 10:27:50 -05:00
parent db263f775a
commit f4b6d8de2a

View File

@ -37,7 +37,11 @@
%global build_with_python3 1 %global build_with_python3 1
%if 0%{?build_with_python3} %if 0%{?build_with_python3}
%if 0%{?rhel} == 7
%global chromium_pybin /usr/bin/python3
%else
%global chromium_pybin %{__python3} %global chromium_pybin %{__python3}
%endif
%else %else
%global chromium_pybin %{__python2} %global chromium_pybin %{__python2}
%endif %endif