2024-10-01 23:47:53 +00:00
committed by Git OBS Bridge
parent b7221c02d8
commit e84b2a9ea2

View File

@@ -868,6 +868,11 @@ rm %{buildroot}%{_mandir}/man1/python%{python_version}.1*
%endif
# For the purposes of reproducibility, it is necessary to eliminate any *.pyc files inside documentation dirs
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
%{sitedir}/tkinter