No python2 for RHEL9 or above
This commit is contained in:
parent
d27989b21c
commit
393c5a2211
@ -3,7 +3,7 @@
|
||||
%global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null || echo "%{python3_sitearch}/dbus/mainloop")
|
||||
%endif
|
||||
# sip too old for python2 in EPEL
|
||||
%if 0%{?fedora} < 32
|
||||
%if 0%{?fedora} < 32 && 0%{?rhel} < 9
|
||||
%global with_python2 1
|
||||
%global python2_dbus_dir %(%{__python2} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null || echo "%{python2_sitearch}/dbus/mainloop")
|
||||
%global enginio 1
|
||||
|
Loading…
Reference in New Issue
Block a user