diff --git a/python-dask.spec b/python-dask.spec index af5b56a..8ff7121 100644 --- a/python-dask.spec +++ b/python-dask.spec @@ -152,6 +152,8 @@ rm -rf html/.{doctrees,buildinfo} %install %pyproject_install +# we do not want to ship test files +find %{buildroot}%{python3_sitelib}/%{srcname} -type d -name tests -print0 | xargs -0 rm -rf %pyproject_save_files %{srcname}