package sip binary apart to fix conflicts beteen -devel packages [release 4.19.19-2mamba;Mon Oct 28 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 16:40:08 +01:00
parent ab0b0a43de
commit 6964839a27

View File

@ -1,5 +1,5 @@
Name: python-sip Name: python-sip
Version: 4.19.18 Version: 4.19.19
Release: 2mamba Release: 2mamba
Summary: Python extension module generator for C and C++ libraries Summary: Python extension module generator for C and C++ libraries
Group: System/Libraries/Python Group: System/Libraries/Python
@ -27,6 +27,7 @@ SIP is an extension module generator similar to SWIG but is specifically designe
Summary: Development files for SIP Summary: Development files for SIP
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: sip = %{?epoch:%epoch:}%{version}-%{release}
%description %{?with_pyver:py%{with_pyver}-}devel %description %{?with_pyver:py%{with_pyver}-}devel
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules. SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
@ -52,6 +53,14 @@ Summary: Python %{pyver} extension module generator for C and C++ librarie
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules. SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
%endif %endif
%package -n sip
Group: Development/Tools
Summary: Python %{pyver} extension module generator for C and C++ libraries
%description -n sip
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
This package provides the sip tool and documentation.
%prep %prep
%setup -q -n sip-%{version} %setup -q -n sip-%{version}
@ -96,6 +105,14 @@ cd PyQt5
%files %{?with_pyver:py%{pyver}-}devel %files %{?with_pyver:py%{pyver}-}devel
%defattr(-,root,root) %defattr(-,root,root)
%if "%?with_pyver"
%{python_inc}/sip.h
%else
%{_includedir}/python%{python_version}/sip.h
%endif
%files -n sip
%defattr(-,root,root)
%{_bindir}/sip %{_bindir}/sip
%if "%?with_pyver" %if "%?with_pyver"
%{python_inc}/sip.h %{python_inc}/sip.h
@ -106,6 +123,12 @@ cd PyQt5
%doc doc/* %doc doc/*
%changelog %changelog
* Mon Oct 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.19-2mamba
- package sip binary apart to fix conflicts beteen -devel packages
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.19-1mamba
- update to 4.19.19
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.18-2mamba * Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.18-2mamba
- rebuilt with python3 3.7.4 - rebuilt with python3 3.7.4