diff --git a/python-brian2.spec b/python-brian2.spec index 9080b42..c204545 100644 --- a/python-brian2.spec +++ b/python-brian2.spec @@ -100,7 +100,7 @@ popd %endif # remove pytest_cache -rm -rf $RPM_BUILD_ROOT/%{python3_sitearch}/brian2/.pytest_cache/ +rm -rf $RPM_BUILD_ROOT/%{python3_sitearch}/brian2/{tests,}/.pytest_cache/ %files -n python3-brian2 -f %{pyproject_files} %doc README.rst