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 Name: libtalloc
Epoch: 1 Epoch: 1
Version: 2.4.1 Version: 2.4.1
Release: 1mamba Release: 3mamba
Summary: The talloc library Summary: The talloc library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -15,12 +15,19 @@ License: LGPL
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libbsd-devel BuildRequires: libbsd-devel
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: docbook-xsl BuildRequires: docbook-xsl
BuildRequires: libxslt BuildRequires: libxslt
Provides: %{name}-static Provides: %{name}-static
Obsoletes: %{name}-static < 1:2.3.4 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 %description
%{name} is a hierarchical, reference counted memory pool system with destructors. %{name} is a hierarchical, reference counted memory pool system with destructors.
@ -35,31 +42,7 @@ Obsoletes: pytalloc-devel < 1:2.3.4
%description devel %description devel
%{name} is a hierarchical, reference counted memory pool system with destructors. %{name} is a hierarchical, reference counted memory pool system with destructors.
This package contains libraries and header files needed for development.
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.
%debug_package %debug_package
@ -91,30 +74,27 @@ chmod +x %{buildroot}%{_libdir}/libtalloc.so.%{version}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libtalloc.so.* %{_libdir}/libtalloc.so.*
#%{_libdir}/libpytalloc-util.so.* %{_libdir}/libpytalloc-util.cpython-*.so.*
%doc NEWS %{python3_sitearch}/talloc.cpython-*.so
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/talloc.h %{_includedir}/talloc.h
%{_libdir}/libtalloc.so
%{_libdir}/pkgconfig/talloc.pc
%{_mandir}/man3/talloc.3*
%{_includedir}/pytalloc.h %{_includedir}/pytalloc.h
#%{_libdir}/libpytalloc-util.so %{_libdir}/libtalloc.so
#%{_libdir}/pkgconfig/pytalloc-util.pc %{_libdir}/libpytalloc-util.cpython-*-linux-gnu*.so
%{_libdir}/pkgconfig/talloc.pc
#%files -n python-talloc %{_libdir}/pkgconfig/pytalloc-util.cpython-*-linux-gnu*.pc
#%defattr(-,root,root) %{_mandir}/man3/talloc.3*
#%{python3_sitearch}/talloc.so %doc NEWS
%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
%changelog %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 * Fri Jul 21 2023 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist - automatic version update by autodist