forked from pool/python-bsddb3
- Version Update to 6.2.6:
* Correctly detect berkley db * Python 3.7 tested and explicitly supported OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bsddb3?expand=0&rev=33
This commit is contained in:
committed by
Git OBS Bridge
parent
991f21640d
commit
f530f0be98
@@ -18,19 +18,18 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-bsddb3
|
||||
Version: 6.2.5
|
||||
Version: 6.2.6
|
||||
Release: 0
|
||||
Summary: Python interface for Berkeley DB
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://pypi.python.org/pypi/bsddb3
|
||||
URL: http://pypi.python.org/pypi/bsddb3
|
||||
#Freecode-URL: https://www.jcea.es/programacion/pybsddb.htm
|
||||
Source: https://files.pythonhosted.org/packages/source/b/bsddb3/bsddb3-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: python3-testsuite
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
|
||||
BuildRequires: python3-testsuite
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -62,19 +61,17 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
|
||||
%install
|
||||
%python_install
|
||||
rm -rf %{buildroot}%{python_sitearch}/bsddb3/tests # Remove wrongly packaged tests
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitearch}/bsddb3/tests
|
||||
|
||||
%check
|
||||
%python_exec test.py
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog README.txt TODO.txt docs/*
|
||||
%license licenses.txt LICENSE.txt
|
||||
%{python_sitearch}/*
|
||||
|
||||
%files %{python_files devel}
|
||||
%defattr(-,root,root,-)
|
||||
%license licenses.txt LICENSE.txt
|
||||
%{_includedir}/python%{python_version}*/bsddb3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user