diff --git a/python-plyvel.changes b/python-plyvel.changes index 457aa3d..cc35114 100644 --- a/python-plyvel.changes +++ b/python-plyvel.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jan 31 08:31:40 UTC 2016 - mpluskal@suse.com + +- Enable tests +- Update dependencies + ------------------------------------------------------------------- Tue Oct 28 16:52:58 UTC 2014 - mpluskal@suse.com diff --git a/python-plyvel.spec b/python-plyvel.spec index 4b1df3b..0f16fdd 100644 --- a/python-plyvel.spec +++ b/python-plyvel.spec @@ -1,7 +1,7 @@ # # spec file for package python-plyvel # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,8 +27,12 @@ Source: https://pypi.python.org/packages/source/p/plyvel/plyvel-%{versio BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: leveldb-devel +BuildRequires: python-Cython BuildRequires: python-devel +BuildRequires: python-pytest +BuildRequires: python-pytest-cov BuildRequires: python-setuptools +BuildRequires: python-tox BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -40,15 +44,18 @@ Plyvel has a rich feature set, high performance, and a friendly Pythonic API. %setup -q -n plyvel-%{version} %build -python setup.py build +make %{?_smp_mflags} all %install python setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot} %fdupes %{buildroot} +%check +make %{?_smp_mflags} test + %files %defattr(-,root,root,-) -%{python_sitearch}/* %doc doc/*.rst +%{python_sitearch}/* %changelog