diff --git a/python-apsw.spec b/python-apsw.spec index d73b63e..32f69b6 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -1,22 +1,20 @@ %define pkgver %(echo %version | tr _ -) Name: python-apsw Version: 3.28.0_r1 -Release: 2mamba +Release: 3mamba Summary: Another Python SQLite Wrapper Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://code.google.com/p/apsw/ +URL: https://github.com/rogerbinns/apsw Source: https://github.com/rogerbinns/apsw.git/%{pkgver}/apsw-%{version}.tar.bz2 -#Source: https://apsw.googlecode.com/files/apsw-%{version}-r1.zip License: GPL ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 python-apsw' to get the list of build requirements. +BuildRequires: glibc-devel +BuildRequires: libpython3-devel +BuildRequires: libsqlite-devel ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary} for the SQLite embedded relational database engine. In contrast to other wrappers such as pysqlite it focuses on being a minimal layer over SQLite attempting just to translate the complete SQLite API into Python. The documentation has a section on the differences between APSW and pysqlite. APSW supports CPython 2.3 onwards and CPython 3.1 onwards. @@ -40,12 +38,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/apsw-*-py*.egg-info +%{python_sitearch}/apsw-*-py*.egg-info/* %changelog +* Sat Jun 11 2022 Silvan Calarco 3.28.0_r1-3mamba +- rebuilt with distdeps and python 3.10 + * Wed Aug 28 2019 Silvan Calarco 3.28.0_r1-2mamba - rebuilt with py3 and py36 packages