Matej Cepl 2024-10-01 23:44:23 +00:00 committed by Git OBS Bridge
parent 2aeb619628
commit 957ff77855

View File

@ -797,7 +797,9 @@ 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}%{_datadir}/doc -type f -name \*.pyc -ls -exec rm -vf '{}' \;
if [ -d %{buildroot}%{_defaultdocdir} ] ; then
find %{buildroot}%{_defaultdocdir} -type f -name \*.pyc -ls -exec rm -vf '{}' \;
fi
%if %{with general}
%files -n %{python_pkg_name}-tk