From 38ff7e3150000c39fd05b2abb1bcde67cbad66b6381b087dc940ea84fca61c0e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 1 Oct 2024 21:16:07 +0000 Subject: [PATCH] Fix the command OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=72 --- python312.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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