diff --git a/python-qt5.spec b/python-qt5.spec index 9d65e37..6d89ed9 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -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