From 42b5e8caada761b1cde4f814d05ac0bd46d4876f Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Apr 06 2020 01:08:34 +0000 Subject: disable QtEnginio support f32+ --- diff --git a/python-qt5.spec b/python-qt5.spec index af9771a..8565ed2 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -6,6 +6,7 @@ %if 0%{?fedora} < 32 %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 %endif # enable/disable individual modules @@ -65,7 +66,9 @@ BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-python) BuildRequires: pkgconfig(phonon4qt5) BuildRequires: pkgconfig(Qt5Core) >= 5.5 +%if 0%{?enginio} BuildRequires: pkgconfig(Enginio) +%endif BuildRequires: pkgconfig(Qt5Bluetooth) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Designer) @@ -393,7 +396,9 @@ sed -i \ %if 0%{?with_python2} %files -n python2-qt5 +%if 0%{?enginio} %{python2_sitearch}/PyQt5/Enginio.so +%endif %{python2_sitearch}/PyQt5/QtBluetooth.so %{python2_sitearch}/PyQt5/QtDesigner.so %{python2_sitearch}/PyQt5/QtHelp.so @@ -466,7 +471,9 @@ sed -i \ %if 0%{?with_python3} %files -n python%{python3_pkgversion}-qt5 +%if 0%{?enginio} %{python3_sitearch}/PyQt5/Enginio.* +%endif %{python3_sitearch}/PyQt5/QtBluetooth.* %{python3_sitearch}/PyQt5/QtDesigner.* %{python3_sitearch}/PyQt5/QtHelp.* @@ -556,6 +563,7 @@ sed -i \ %changelog * Mon Apr 06 2020 Rex Dieter - 5.14.2-2 - rebuild (qt5) +- disable QtEnginio support f32+ * Sat Apr 04 2020 Rex Dieter - 5.14.2-1 - 5.14.2