Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python311 for openSUSE:Factory 
checked in at 2024-10-31 16:08:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python311 (Old)
 and      /work/SRC/openSUSE:Factory/.python311.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python311"

Thu Oct 31 16:08:32 2024 rev:41 rq:1219469 version:3.11.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/python311/python311.changes      2024-09-18 
15:26:00.518656897 +0200
+++ /work/SRC/openSUSE:Factory/.python311.new.2020/python311.changes    
2024-10-31 16:08:36.533164682 +0100
@@ -1,0 +2,6 @@
+Wed Oct  2 16:18:29 UTC 2024 - Matej Cepl <mc...@cepl.eu>
+
+- Drop .pyc files from docdir for reproducible builds
+  (bsc#1230906).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python311.spec ++++++
--- /var/tmp/diff_new_pack.1HU29B/_old  2024-10-31 16:08:37.585208580 +0100
+++ /var/tmp/diff_new_pack.1HU29B/_new  2024-10-31 16:08:37.585208580 +0100
@@ -792,6 +792,11 @@
 echo %{sitedir}/_import_failed > 
%{buildroot}/%{sitedir}/site-packages/zzzz-import-failed-hooks.pth
 %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

Reply via email to