rebuilt with python3 3.7.4 [release 4.12.3-2mamba;Thu Aug 08 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 17:52:18 +01:00
parent 5c16e4958f
commit df007b2976

View File

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