Hello community,

here is the log from the commit of package pspp for openSUSE:Factory checked in 
at 2020-07-16 12:17:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pspp (Old)
 and      /work/SRC/openSUSE:Factory/.pspp.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pspp"

Thu Jul 16 12:17:25 2020 rev:15 rq:821109 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/pspp/pspp.changes        2020-07-06 
16:29:33.691211723 +0200
+++ /work/SRC/openSUSE:Factory/.pspp.new.3592/pspp.changes      2020-07-16 
12:20:03.847062493 +0200
@@ -1,0 +2,6 @@
+Wed Jul 15 10:57:45 UTC 2020 - Bernhard Wiedemann <[email protected]>
+
+- remove nondeterministic bits from testsuite.log
+  to make package build reproducible
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ pspp.spec ++++++
--- /var/tmp/diff_new_pack.WcdYP2/_old  2020-07-16 12:20:06.755065434 +0200
+++ /var/tmp/diff_new_pack.WcdYP2/_new  2020-07-16 12:20:06.759065438 +0200
@@ -186,6 +186,17 @@
 %make_build check || /bin/true
 [ -f ./tests/testsuite.log ] || echo "check did not run" > 
./tests/testsuite.log
 mkdir $RPM_BUILD_ROOT/%{_datadir}/pspp/tests
+# remove nondeterministic bits to make package build reproducible:
+perl -i -pe '
+  s/ (starting|ending) at:.*/ $1 at: [scrubbed]/;
+  s/(test suite duration:).*/$1 [scrubbed]/;
+  s/(hostname =) .*/$1 [hostscrubbed]/;
+  s/^(\| on) [a-zA-Z0-9._-]+/$1 [hostscrubbed]/;
+  s/ \(\d+m.*\ds\)/([durationscrubbed])/;
+  s/20\d\d-\d\d-\d\d \d\d:\d\d:\d\d\.\d+ [+-]\d\d00/[datescrubbed]/;
+  s!(bin/ld: /tmp/conftest\.)\w+!$1[randomnessscrubbed]!;
+  s!^(\| \./configure: line \d+: *)\d+ (Aborted)!$1 [PIDscrubbed] $2!;
+' ./tests/testsuite.log
 cp ./tests/testsuite.log $RPM_BUILD_ROOT/%{_datadir}/pspp/tests/
 
 %post




Reply via email to