PyQt5-py310: remove conflicting file PyQt5.api [release 5.15.9-3mamba;Fri Oct 06 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 17:52:31 +01:00
parent 5f26f8a5b6
commit 45af74af6a

View File

@ -3,7 +3,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: PyQt5 Name: PyQt5
Version: 5.15.9 Version: 5.15.9
Release: 1mamba Release: 3mamba
Summary: Python bindings for the Qt5 cross platform GUI toolkit Summary: Python bindings for the Qt5 cross platform GUI toolkit
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -32,14 +32,16 @@ BuildRequires: libdbus-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglvnd-devel BuildRequires: libglvnd-devel
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: libpython311-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: python3.7dist(pyqt5-sip) BuildRequires: python3.11dist(pyqt5-sip)
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtconnectivity-devel BuildRequires: qt5-qtconnectivity-devel
BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qtquick3d-devel BuildRequires: qt5-qtquick3d-devel
BuildRequires: qt5-qttools-devel BuildRequires: qt5-qttools-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11.5
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: libXcursor-devel BuildRequires: libXcursor-devel
BuildRequires: libdbus-devel BuildRequires: libdbus-devel
@ -106,7 +108,7 @@ This package contains the QtDesigner support components for PyQt5.
%build %build
#:<< _EOF #:<< _EOF
sip-build-py%{with_pyver} \ sip-build-py%{?with_pyver:%with_pyver} \
--confirm-license \ --confirm-license \
--no-make \ --no-make \
--api-dir %{_datadir}/qt5/qsci/api/python --api-dir %{_datadir}/qt5/qsci/api/python
@ -123,6 +125,7 @@ find examples/ -type f -exec chmod 0644 {} ';'
%if "0%{pyver}" != "03" %if "0%{pyver}" != "03"
rm -f %{buildroot}%{_qt5_plugindir}/PyQt5/libpyqt5qmlplugin.so rm -f %{buildroot}%{_qt5_plugindir}/PyQt5/libpyqt5qmlplugin.so
rm -f %{buildroot}%{_datadir}/qt5/qsci/api/python/PyQt5.api
%endif %endif
for f in pylupdate5 pyrcc5 pyuic5; do for f in pylupdate5 pyrcc5 pyuic5; do
@ -132,7 +135,6 @@ for f in pylupdate5 pyrcc5 pyuic5; do
%endif %endif
done done
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -141,15 +143,17 @@ done
%{_bindir}/pylupdate5* %{_bindir}/pylupdate5*
%{_bindir}/pyrcc5* %{_bindir}/pyrcc5*
%{_bindir}/pyuic5* %{_bindir}/pyuic5*
#%if "%{pyver}" != "3"
%{python_sitearch}/dbus/mainloop/pyqt5.abi3.so %{python_sitearch}/dbus/mainloop/pyqt5.abi3.so
#%endif
%dir %{python_sitearch}/PyQt5-%{version}.dist-info %dir %{python_sitearch}/PyQt5-%{version}.dist-info
%{python_sitearch}/PyQt5-%{version}.dist-info/* %{python_sitearch}/PyQt5-%{version}.dist-info/*
%dir %{python_sitearch}/PyQt5 %dir %{python_sitearch}/PyQt5
%{python_sitearch}/PyQt5/* %{python_sitearch}/PyQt5/*
%exclude %{python_sitearch}/PyQt5/QtDesigner.abi3.so %exclude %{python_sitearch}/PyQt5/QtDesigner.abi3.so
%dir %{_qt5_plugindir}/PyQt5 %dir %{_qt5_plugindir}/PyQt5
%{_datadir}/qt5/qsci/api/python/PyQt5.api
%if "%{pyver}" == "3" %if "%{pyver}" == "3"
%{_datadir}/qt5/qsci/api/python/PyQt5.api
%{_qt5_plugindir}/PyQt5/libpyqt5qmlplugin.so %{_qt5_plugindir}/PyQt5/libpyqt5qmlplugin.so
%endif %endif
%doc LICENSE* %doc LICENSE*
@ -160,6 +164,12 @@ done
%{_qt5_plugindir}/designer/* %{_qt5_plugindir}/designer/*
%changelog %changelog
* Fri Oct 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15.9-3mamba
- PyQt5-py310: remove conflicting file PyQt5.api
* Sat Sep 23 2023 Automatic Build System <autodist@mambasoft.it> 5.15.9-2mamba
- rebuilt with python3 = 3.11.5
* Tue Feb 07 2023 Automatic Build System <autodist@mambasoft.it> 5.15.9-1mamba * Tue Feb 07 2023 Automatic Build System <autodist@mambasoft.it> 5.15.9-1mamba
- automatic version update by autodist - automatic version update by autodist