From 710e414b77063a74848c1fafbb203d968604c504 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:53:23 +0100 Subject: [PATCH] integrate python-talloc into libtalloc to ease multilib PackageKit upgrade [release 2.4.1-3mamba;Fri Oct 06 2023] --- libtalloc.spec | 66 ++++++++++++++++++-------------------------------- 1 file changed, 23 insertions(+), 43 deletions(-) diff --git a/libtalloc.spec b/libtalloc.spec index 3659512..1cdf884 100644 --- a/libtalloc.spec +++ b/libtalloc.spec @@ -2,7 +2,7 @@ Name: libtalloc Epoch: 1 Version: 2.4.1 -Release: 1mamba +Release: 3mamba Summary: The talloc library Group: System/Libraries Vendor: openmamba @@ -15,12 +15,19 @@ License: LGPL BuildRequires: glibc-devel BuildRequires: libbsd-devel BuildRequires: libpython3-devel +BuildRequires: libpython311-devel ## AUTOBUILDREQ-END +BuildRequires: libpython3-devel >= 3.11 BuildRequires: autoconf BuildRequires: docbook-xsl BuildRequires: libxslt Provides: %{name}-static Obsoletes: %{name}-static < 1:2.3.4 +Provides: pytalloc +Obsoletes: pytalloc < 1:2.3.4 +Obsoletes: python-talloc < 1:2.3.4 +Obsoletes: python-talloc-py3 < 1:2.4.1-3mamba +Obsoletes: python-talloc-py36 < 1:2.3.4 %description %{name} is a hierarchical, reference counted memory pool system with destructors. @@ -35,31 +42,7 @@ Obsoletes: pytalloc-devel < 1:2.3.4 %description devel %{name} is a hierarchical, reference counted memory pool system with destructors. - -This package contains libraries and header files need for development. - -%package -n python-talloc -Group: System/Libraries -Summary: A wrapper for libtalloc for use in Python programs -Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} - -%description -n python-talloc -%{name} is a hierarchical, reference counted memory pool system with destructors. - -This package contains a wrapper for libtalloc for use in Python programs. - -%package -n python-talloc-py3 -Group: System/Libraries -Summary: A wrapper for libtalloc for use in Python programs -Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} -Provides: pytalloc -Obsoletes: pytalloc < 1:2.3.4 -Obsoletes: python-talloc < 1:2.3.4 -Obsoletes: python-talloc-py36 < 1:2.3.4 - -%description -n python-talloc-py3 -%{name} is a hierarchical, reference counted memory pool system with destructors. -This package contains a wrapper for libtalloc for use in Python programs. +This package contains libraries and header files needed for development. %debug_package @@ -91,30 +74,27 @@ chmod +x %{buildroot}%{_libdir}/libtalloc.so.%{version} %files %defattr(-,root,root) %{_libdir}/libtalloc.so.* -#%{_libdir}/libpytalloc-util.so.* -%doc NEWS +%{_libdir}/libpytalloc-util.cpython-*.so.* +%{python3_sitearch}/talloc.cpython-*.so %files devel %defattr(-,root,root) %{_includedir}/talloc.h -%{_libdir}/libtalloc.so -%{_libdir}/pkgconfig/talloc.pc -%{_mandir}/man3/talloc.3* %{_includedir}/pytalloc.h -#%{_libdir}/libpytalloc-util.so -#%{_libdir}/pkgconfig/pytalloc-util.pc - -#%files -n python-talloc -#%defattr(-,root,root) -#%{python3_sitearch}/talloc.so - -%files -n python-talloc-py3 -%defattr(-,root,root) -%{_libdir}/libpytalloc-util.cpython-3*m-*-linux-gnu*.so* -%{_libdir}/pkgconfig/pytalloc-util.cpython-3*m-*-linux-gnu*.pc -%{python3_sitelib}/talloc.cpython-3*m-*-linux-gnu*.so +%{_libdir}/libtalloc.so +%{_libdir}/libpytalloc-util.cpython-*-linux-gnu*.so +%{_libdir}/pkgconfig/talloc.pc +%{_libdir}/pkgconfig/pytalloc-util.cpython-*-linux-gnu*.pc +%{_mandir}/man3/talloc.3* +%doc NEWS %changelog +* Fri Oct 06 2023 Silvan Calarco 2.4.1-3mamba +- integrate python-talloc into libtalloc to ease multilib PackageKit upgrade + +* Sun Oct 01 2023 Silvan Calarco 2.4.1-2mamba +- rebuilt with python3 == 3.11 + * Fri Jul 21 2023 Automatic Build System 2.4.1-1mamba - automatic version update by autodist