Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mpiP for openSUSE:Factory checked in 
at 2025-05-26 18:39:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpiP (Old)
 and      /work/SRC/openSUSE:Factory/.mpiP.new.2732 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mpiP"

Mon May 26 18:39:13 2025 rev:21 rq:1279989 version:3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/mpiP/mpiP.changes        2025-04-03 
16:47:21.364501730 +0200
+++ /work/SRC/openSUSE:Factory/.mpiP.new.2732/mpiP.changes      2025-05-26 
18:40:08.851042051 +0200
@@ -1,0 +2,5 @@
+Wed Apr 30 08:17:08 UTC 2025 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Add reproducible.patch to not add time and hostname of build (boo#1047218, 
boo#1084909)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

BETA DEBUG BEGIN:
  New:
- Add reproducible.patch to not add time and hostname of build (boo#1047218, 
boo#1084909)
BETA DEBUG END:

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

Other differences:
------------------
++++++ mpiP.spec ++++++
--- /var/tmp/diff_new_pack.dJC8wu/_old  2025-05-26 18:40:09.683076988 +0200
+++ /var/tmp/diff_new_pack.dJC8wu/_new  2025-05-26 18:40:09.687077156 +0200
@@ -67,6 +67,7 @@
 Patch3:         pc_lookup-replace-PTR-with-void.patch
 Patch4:         configure-fix-compilation-error-for-GCC-14.patch
 Patch5:         arch-add-generic-arch-using-GCC-builtins.patch
+Patch6:         reproducible.patch
 
 BuildRequires:  %{flavor}-devel
 BuildRequires:  binutils-devel

++++++ reproducible.patch ++++++
From: "Bernhard M. Wiedemann" <bwiedem...@suse.de>
Date: Wed, 9 Apr 2025 05:44:50 +0200
Subject: [PATCH] Allow to omit build time and hostname

for reproducible builds.

Alternatively, this part can also be dropped completely.

This patch was done while working on reproducible builds for openSUSE.


diff --git a/make-wrappers.py b/make-wrappers.py
index 809d0e4..c96f3b3 100755
--- a/make-wrappers.py
+++ make-wrappers.py
@@ -924,9 +924,10 @@ def StandardFileHeader(fname):
     olist = []
     olist.append("/* " + fname + " */\n")
     olist.append("/* DO NOT EDIT -- AUTOMATICALLY GENERATED! */\n")
-    olist.append("/* Timestamp: " + time.strftime("%d %B %Y %H:%M", 
time.localtime(time.time())) + "  */\n")
-    olist.append("/* Location: " + socket.gethostname () + " " + os.name + " 
*/\n")
-    olist.append("/* Creator: " + os.environ["LOGNAME"] + "  */\n")
+    if not os.getenv("SOURCE_DATE_EPOCH"):
+        olist.append("/* Timestamp: " + time.strftime("%d %B %Y %H:%M", 
time.localtime(time.time())) + "  */\n")
+        olist.append("/* Location: " + socket.gethostname () + " " + os.name + 
" */\n")
+        olist.append("/* Creator: " + os.environ["LOGNAME"] + "  */\n")
     olist.append("\n")
     olist.append("\n")
     return olist

Reply via email to