From 0f784d6fc8bbcabd1acf350e1b2407e895236c67 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:53:19 +0100 Subject: [PATCH] python-talloc-py3: obsolete python-talloc-py36 [release 2.3.1-3mamba;Mon Jan 06 2020] --- libtalloc.spec | 68 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 46 insertions(+), 22 deletions(-) diff --git a/libtalloc.spec b/libtalloc.spec index 156de20..37e0ff2 100644 --- a/libtalloc.spec +++ b/libtalloc.spec @@ -1,25 +1,28 @@ %define major %(echo 2.0.1 | cut -d. -f1) Name: libtalloc Epoch: 1 -Version: 2.1.16 -Release: 1mamba +Version: 2.3.1 +Release: 3mamba Summary: The talloc library Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Automatic Build System +Packager: Silvan Calarco URL: http://talloc.samba.org/talloc/doc/html/index.html Source: http://samba.org/ftp/talloc/talloc-%{version}.tar.gz License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libbsd-devel +BuildRequires: libpython-devel +BuildRequires: libpython3-devel +## AUTOBUILDREQ-END BuildRequires: autoconf BuildRequires: docbook-xsl BuildRequires: libxslt Provides: %{name}-static Obsoletes: %{name}-static -## AUTOBUILDREQ-BEGIN -BuildRequires: glibc-devel -BuildRequires: libpython-devel -## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -48,14 +51,16 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} This package contains a wrapper for libtalloc for use in Python programs. -%package -n python-talloc-py36 +%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 +Obsoletes: python-talloc +Obsoletes: python-talloc-py36 -%description -n python-talloc-py36 +%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. @@ -63,9 +68,13 @@ This package contains a wrapper for libtalloc for use in Python programs. %prep %setup -q -n talloc-%{version} +%debug_package + %build -%configure \ - --extra-python=%{__python36} +%configure + +#\ +# --extra-python=%{__python36} %make @@ -75,7 +84,7 @@ This package contains a wrapper for libtalloc for use in Python programs. rm -f %{buildroot}%{_datadir}/swig/*/talloc.i chmod +x %{buildroot}%{_libdir}/libtalloc.so.%{version} -chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version} +#chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -86,7 +95,7 @@ chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version} %files %defattr(-,root,root) %{_libdir}/libtalloc.so.* -%{_libdir}/libpytalloc-util.so.* +#%{_libdir}/libpytalloc-util.so.* %doc NEWS %files devel @@ -96,20 +105,35 @@ chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version} %{_libdir}/pkgconfig/talloc.pc %{_mandir}/man3/talloc.3* %{_includedir}/pytalloc.h -%{_libdir}/libpytalloc-util.so -%{_libdir}/pkgconfig/pytalloc-util.pc +#%{_libdir}/libpytalloc-util.so +#%{_libdir}/pkgconfig/pytalloc-util.pc -%files -n python-talloc -%defattr(-,root,root) -%{python3_sitearch}/talloc.so +#%files -n python-talloc +#%defattr(-,root,root) +#%{python3_sitearch}/talloc.so -%files -n python-talloc-py36 +%files -n python-talloc-py3 %defattr(-,root,root) -%{_libdir}/libpytalloc-util.cpython-36m-*-linux-gnu*.so* -%{_libdir}/pkgconfig/pytalloc-util.cpython-36m-*-linux-gnu*.pc -%{python36_sitearch}/talloc.cpython-36m-*-linux-gnu*.so +%{_libdir}/libpytalloc-util.cpython-3*m-*-linux-gnu*.so* +%{_libdir}/pkgconfig/pytalloc-util.cpython-3*m-*-linux-gnu*.pc +%{python3_sitearch}/talloc.cpython-3*m-*-linux-gnu*.so %changelog +* Mon Jan 06 2020 Silvan Calarco 2.3.1-3mamba +- python-talloc-py3: obsolete python-talloc-py36 + +* Fri Jan 03 2020 Silvan Calarco 2.3.1-2mamba +- added debug package + +* Tue Dec 31 2019 Automatic Build System 2.3.1-1mamba +- automatic version update by autodist + +* Thu Nov 21 2019 Automatic Build System 2.3.0-1mamba +- automatic version update by autodist + +* Fri Oct 04 2019 Automatic Build System 2.2.0-1mamba +- automatic version update by autodist + * Mon Apr 01 2019 Automatic Build System 2.1.16-1mamba - automatic version update by autodist