diff --git a/PyQt4.spec b/PyQt4.spec index a9e7b60..2abecd9 100644 --- a/PyQt4.spec +++ b/PyQt4.spec @@ -2,7 +2,7 @@ Name: PyQt4 Version: 4.12.3 -Release: 1mamba +Release: 2mamba Summary: Python bindings for the Qt cross platform GUI toolkit Group: System/Libraries Vendor: openmamba @@ -28,12 +28,15 @@ BuildRequires: libpython-devel BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END +BuildRequires: libpython3-devel >= 3.7.4 BuildRequires: chrpath BuildRequires: libXcursor-devel BuildRequires: python-dbus BuildRequires: python-dbus-devel # WARNING: do not parametrize python-sip-devel version or it will be useless for ports -BuildRequires: python-sip-devel >= 4.19.13 +BuildRequires: python-sip-devel >= 4.19.18 +BuildRequires: python-sip-py3-devel >= 4.19.18 +BuildRequires: python-sip-py36-devel >= 4.19.18 Requires: python-sip = %{pythonsip_ver} Requires: python-dbus BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -84,13 +87,6 @@ This package contains the QtDesigner support components for PyQt4. %prep %setup -q -n PyQt4_gpl_x11-%{version} -#%patch0 -p0 -#% ifarch arm -#% patch1 -p1 -#% endif -#%ifarch x86_64 -#% patch2 -p1 -#%endif %build sed -i "/generate_code(\"phonon\")/s:phonon\":&, extra_include_dirs=[\"%{_includedir}/phonon\"]:" configure.py @@ -126,10 +122,7 @@ find examples/ -type f -exec chmod 0644 {} ';' %files %{?with_pyver:py%{pyver}} %defattr(-,root,root) -%if "%{?pyver}" != "36" -%{python_sitelib}/dbus/mainloop/qt.so -%endif -%ifarch arm +%if "%{?pyver}" != "3" %{python_sitelib}/dbus/mainloop/qt.so %endif %{python_sitearch}/PyQt4/Qt.so @@ -173,6 +166,9 @@ find examples/ -type f -exec chmod 0644 {} ';' %{_qt4_plugindir}/designer/* %changelog +* Thu Aug 08 2019 Silvan Calarco 4.12.3-2mamba +- rebuilt with python3 3.7.4 + * Fri Dec 28 2018 Silvan Calarco 4.12.3-1mamba - update to 4.12.3