diff --git a/libtdb.spec b/libtdb.spec index b49be9a..7ac8e40 100644 --- a/libtdb.spec +++ b/libtdb.spec @@ -1,6 +1,6 @@ Name: libtdb Epoch: 1 -Version: 1.3.16 +Version: 1.3.18 Release: 1mamba Summary: The tdb library Group: System/Libraries @@ -51,7 +51,17 @@ Group: System/Libraries Summary: Python wrapper for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} -%description tools +%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. + +This package contains the Python wrapper for %{name}. + +%package -n python-tdb-py36 +Group: System/Libraries +Summary: Python wrapper for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n python-tdb-py36 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. This package contains the Python wrapper for %{name}. @@ -61,7 +71,9 @@ This package contains the Python wrapper for %{name}. #%patch0 -p1 %build -%configure +%configure \ + --extra-python=%{__python36} + %make %install @@ -99,10 +111,18 @@ This package contains the Python wrapper for %{name}. %files -n python-tdb %defattr(-,root,root) -%{python_sitearch}/tdb.so -%{python_sitearch}/_tdb_text.py +%{python3_sitearch}/tdb.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 %changelog +* Sun Mar 31 2019 Automatic Build System 1.3.18-1mamba +- automatic version update by autodist + * Wed Aug 22 2018 Automatic Build System 1.3.16-1mamba - automatic version update by autodist