From 6964839a27454ddb3cad39416c6aa631b33c2415 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:40:08 +0100 Subject: [PATCH] package sip binary apart to fix conflicts beteen -devel packages [release 4.19.19-2mamba;Mon Oct 28 2019] --- python-sip.spec | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/python-sip.spec b/python-sip.spec index 3cda2cd..a69e8da 100644 --- a/python-sip.spec +++ b/python-sip.spec @@ -1,5 +1,5 @@ Name: python-sip -Version: 4.19.18 +Version: 4.19.19 Release: 2mamba Summary: Python extension module generator for C and C++ libraries 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 Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: sip = %{?epoch:%epoch:}%{version}-%{release} %description %{?with_pyver:py%{with_pyver}-}devel 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. %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 %setup -q -n sip-%{version} @@ -96,6 +105,14 @@ cd PyQt5 %files %{?with_pyver:py%{pyver}-}devel %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 %if "%?with_pyver" %{python_inc}/sip.h @@ -106,6 +123,12 @@ cd PyQt5 %doc doc/* %changelog +* Mon Oct 28 2019 Silvan Calarco 4.19.19-2mamba +- package sip binary apart to fix conflicts beteen -devel packages + +* Sat Oct 26 2019 Silvan Calarco 4.19.19-1mamba +- update to 4.19.19 + * Thu Aug 08 2019 Silvan Calarco 4.19.18-2mamba - rebuilt with python3 3.7.4