From 737b3ab1b7863f2688194a64a9be586622e122cf Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:54:10 +0100 Subject: [PATCH] python-tdb: obsolete python-tdb-py36 [release 1.4.3-2mamba;Mon Jan 06 2020] --- libtdb.spec | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/libtdb.spec b/libtdb.spec index 7ac8e40..bedf5e7 100644 --- a/libtdb.spec +++ b/libtdb.spec @@ -1,7 +1,7 @@ Name: libtdb Epoch: 1 -Version: 1.3.18 -Release: 1mamba +Version: 1.4.3 +Release: 2mamba Summary: The tdb library Group: System/Libraries Vendor: openmamba @@ -13,10 +13,10 @@ Patch0: libtdb-1.3.0-include-bool.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libattr-devel +BuildRequires: ldconfig BuildRequires: libbsd-devel BuildRequires: libpython-devel -BuildRequires: libpython27-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END BuildRequires: autoconf BuildRequires: docbook-xsl @@ -50,6 +50,7 @@ This package contains tools to manage Tdb files. Group: System/Libraries Summary: Python wrapper for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: python-tdb-py36 %description -n python-tdb TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB except that it allows multiple simultaneous writers and uses locking internally to keep writers from trampling on each other. TDB is also extremely small. @@ -66,13 +67,16 @@ TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB e This package contains the Python wrapper for %{name}. +%debug_package + %prep %setup -q -n tdb-%{version} #%patch0 -p1 %build -%configure \ - --extra-python=%{__python36} +%configure + +# --extra-python=%{__python36} %make @@ -111,15 +115,21 @@ This package contains the Python wrapper for %{name}. %files -n python-tdb %defattr(-,root,root) -%{python3_sitearch}/tdb.so +%{python3_sitearch}/tdb.cpython-*.so %{python3_sitearch}/_tdb_text.py -%files -n python-tdb-py36 -%defattr(-,root,root) -%{_libdir}/python3.6/site-packages/tdb.cpython-36* -%{python36_sitearch}/_tdb_text.py +#%files -n python-tdb-py36 +#%defattr(-,root,root) +#%{_libdir}/python3.6/site-packages/tdb.cpython-36* +#%{python36_sitearch}/_tdb_text.py %changelog +* Mon Jan 06 2020 Silvan Calarco 1.4.3-2mamba +- python-tdb: obsolete python-tdb-py36 + +* Fri Jan 03 2020 Silvan Calarco 1.4.3-1mamba +- update to 1.4.3 + * Sun Mar 31 2019 Automatic Build System 1.3.18-1mamba - automatic version update by autodist