Merge branch 'rawhide' into epel8

epel8 imports/epel8/chromium-124.0.6367.60-1.el8
Than Ngo 8 months ago
commit be39fc082a

@ -73,8 +73,12 @@
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
%global chromium_pybin /usr/bin/python3 %global chromium_pybin /usr/bin/python3
%else %else
%if 0%{?rhel} == 8
%global chromium_pybin /usr/bin/python3.9
%else
%global chromium_pybin %{__python3} %global chromium_pybin %{__python3}
%endif %endif
%endif
# va-api only supported in rhel >= 9 and fedora # va-api only supported in rhel >= 9 and fedora
%global use_vaapi 1 %global use_vaapi 1
@ -1321,7 +1325,7 @@ udev.
# Change shebang in all relevant files in this directory and all subdirectories # Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works # See `man find` for how the `-exec command {} +` syntax works
find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} + find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{chromium_pybin}=' {} +
# Add correct path for nodejs binary # Add correct path for nodejs binary
%if ! %{system_nodejs} %if ! %{system_nodejs}

Loading…
Cancel
Save