Hello community,

here is the log from the commit of package libnvidia-container for 
openSUSE:Factory checked in at 2020-10-30 11:49:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnvidia-container (Old)
 and      /work/SRC/openSUSE:Factory/.libnvidia-container.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libnvidia-container"

Fri Oct 30 11:49:38 2020 rev:3 rq:844981 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libnvidia-container/libnvidia-container.changes  
2020-10-02 17:37:27.242744012 +0200
+++ 
/work/SRC/openSUSE:Factory/.libnvidia-container.new.3463/libnvidia-container.changes
        2020-10-30 11:50:14.865844412 +0100
@@ -1,0 +2,5 @@
+Fri Oct 30 03:08:48 UTC 2020 - Bernhard Wiedemann <[email protected]>
+
+- Add reproducible.patch to override build date (boo#1047218)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ libnvidia-container.spec ++++++
--- /var/tmp/diff_new_pack.kpiKFX/_old  2020-10-30 11:50:15.405844890 +0100
+++ /var/tmp/diff_new_pack.kpiKFX/_new  2020-10-30 11:50:15.405844890 +0100
@@ -42,6 +42,7 @@
 Patch0:         libnvidia-container-fix-revision.patch
 Patch1:         libnvidia-container-fix-makefile.patch
 Patch2:         no-manual-debuginfo.patch
+Patch3:         reproducible.patch
 BuildRequires:  bmake
 BuildRequires:  distribution-release
 BuildRequires:  groff
@@ -107,6 +108,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 # META_NOECHO=echo is required to work around a bug in Leap 15's version of 
bmake,

++++++ reproducible.patch ++++++
https://github.com/NVIDIA/libnvidia-container/pull/94

>From 76fe1a2f5a9ae1896ea8e526a363e77e858a1a03 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Thu, 25 Jun 2020 16:12:11 +0200
Subject: [PATCH] Allow to override build date with SOURCE_DATE_EPOCH

in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

This date call only works with GNU date.

Signed-off-by: Bernhard M. Wiedemann <[email protected]>
---
 mk/common.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

===================================================================
--- libnvidia-container-1.1.1.orig/mk/common.mk
+++ libnvidia-container-1.1.1/mk/common.mk
@@ -21,7 +21,11 @@ REVISION ?= $(shell git rev-parse HEAD)
 
 UID      := $(shell id -u)
 GID      := $(shell id -g)
-DATE     := $(shell date -u --iso-8601=minutes)
+ifdef SOURCE_DATE_EPOCH
+    DATE := $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" --iso-8601=minutes)
+else
+    DATE := $(shell date -u --iso-8601=minutes)
+endif
 COMPILER := $(realpath $(shell which $(CC)))
 PLATFORM ?= $(shell uname -m)
 

Reply via email to