rhel7 macros are old

epel8
Tom spot Callaway 3 years ago
parent db263f775a
commit f4b6d8de2a

@ -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

Loading…
Cancel
Save