diff --git a/python312.spec b/python312.spec index bea016f..4f52c97 100644 --- a/python312.spec +++ b/python312.spec @@ -796,7 +796,8 @@ LD_LIBRARY_PATH=. ./python -O -c "from py_compile import compile; compile('$FAIL ) echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-import-failed-hooks.pth %endif -find %{buildroot}%{_docdir}/%{name} -type f -name \*.pyc -exec rm -vf '{}' \; + +find %{buildroot}%{_docdir} -type f -name \*.pyc -ls -exec rm -vf '{}' \; %if %{with general} %files -n %{python_pkg_name}-tk