diff --git a/python-joblib.changes b/python-joblib.changes index 7ef6db3..7cffee4 100644 --- a/python-joblib.changes +++ b/python-joblib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 20 11:48:47 UTC 2018 - tchvatal@suse.com + +- Enable tests + ------------------------------------------------------------------- Wed Jul 18 03:03:33 UTC 2018 - arun@gmx.de diff --git a/python-joblib.spec b/python-joblib.spec index 5301516..04d50df 100644 --- a/python-joblib.spec +++ b/python-joblib.spec @@ -17,7 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-joblib Version: 0.12.1 Release: 0 @@ -31,10 +30,10 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Recommends: python-numpy BuildArch: noarch -%if %{with test} +BuildRequires: %{python_module lz4} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} -%endif +Requires: python-lz4 %python_subpackages %description @@ -60,10 +59,8 @@ Joblib can handle large data and has specific optimizations for `numpy` arrays. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_expand py.test-%{$python_bin_suffix} joblib -%endif +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} joblib %files %{python_files} %license LICENSE.txt