diff --git a/python-joblib.spec b/python-joblib.spec index fe456f7..a3275c3 100644 --- a/python-joblib.spec +++ b/python-joblib.spec @@ -16,7 +16,7 @@ # -%bcond_without test +%bcond_with test %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-joblib @@ -66,7 +66,7 @@ Joblib can handle large data and has specific optimizations for `numpy` arrays. %if %{with test} %check -%python_expand py.test-%{$python_bin_suffix} +%python_expand py.test-%{$python_bin_suffix} joblib %endif %files %{python_files}