diff --git a/python312.changes b/python312.changes index 211f3fc..9e42749 100644 --- a/python312.changes +++ b/python312.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 30 09:42:13 UTC 2024 - Bernhard Wiedemann + +- Drop .pyc files from docdir for reproducible builds + ------------------------------------------------------------------- Fri Sep 13 17:09:37 UTC 2024 - Matej Cepl diff --git a/python312.spec b/python312.spec index 55fc1b1..48c39eb 100644 --- a/python312.spec +++ b/python312.spec @@ -796,6 +796,7 @@ 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 -delete ||: %if %{with general} %files -n %{python_pkg_name}-tk