integrate python-talloc into libtalloc to ease multilib PackageKit upgrade [release 2.4.1-3mamba;Fri Oct 06 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 05:53:23 +01:00
parent e23e64d82d
commit 710e414b77

View File

@ -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 <silvan.calarco@mambasoft.it> 2.4.1-3mamba
- integrate python-talloc into libtalloc to ease multilib PackageKit upgrade
* Sun Oct 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-2mamba
- rebuilt with python3 == 3.11
* Fri Jul 21 2023 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist