Hello community, here is the log from the commit of package infinipath-psm for openSUSE:Factory checked in at 2018-08-10 09:45:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/infinipath-psm (Old) and /work/SRC/openSUSE:Factory/.infinipath-psm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "infinipath-psm" Fri Aug 10 09:45:52 2018 rev:14 rq:628329 version:3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/infinipath-psm/infinipath-psm.changes 2018-02-15 13:22:05.311425310 +0100 +++ /work/SRC/openSUSE:Factory/.infinipath-psm.new/infinipath-psm.changes 2018-08-10 09:45:53.653895139 +0200 @@ -1,0 +2,10 @@ +Thu Aug 2 09:21:12 UTC 2018 - sch...@suse.de + +- sysmacros.patch: Include <sys/sysmacros.h> for minor + +------------------------------------------------------------------- +Sat Jul 14 04:58:35 UTC 2018 - bwiedem...@suse.com + +- Add reproducible.patch to fix build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch sysmacros.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ infinipath-psm.spec ++++++ --- /var/tmp/diff_new_pack.tB15nu/_old 2018-08-10 09:45:54.249896095 +0200 +++ /var/tmp/diff_new_pack.tB15nu/_new 2018-08-10 09:45:54.249896095 +0200 @@ -22,7 +22,7 @@ Version: 3.3 Release: 0 Summary: QLogic PSM Libraries -License: BSD-2-Clause or GPL-2.0 +License: BSD-2-Clause OR GPL-2.0-only Group: Productivity/Networking/System Url: http://www.qlogic.com/ Source0: %{name}-%{version}%{git_ver}.tar.gz @@ -33,6 +33,10 @@ Patch1: infinipath-psm-no_werror.patch # PATCH-FIX-UPSTREAM infinipath-psm-executable_headers.patch p...@suse.de Patch3: infinipath-psm-executable_headers.patch +# PATCH-FIX-UPSTREAM bmwiedemann https://github.com/intel/psm/pull/16 boo#1047218 +Patch4: reproducible.patch +# PATCH-FIX-UPSTREAM Include <sys/sysmacros.h> for minor +Patch5: sysmacros.patch BuildRequires: libuuid-devel Conflicts: infinipath-libs ExclusiveArch: %ix86 x86_64 @@ -97,6 +101,8 @@ %patch0 %patch1 %patch3 +%patch4 -p1 +%patch5 -p1 %build export RPM_OPT_FLAGS="%{optflags} -Wno-unused-but-set-variable" ++++++ reproducible.patch ++++++ >From 47497ea8597baaa65d7781468d4db09abb8ebd53 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <bwiedem...@suse.de> Date: Sun, 23 Jul 2017 07:02:28 +0200 Subject: [PATCH] Allow to override build date 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. Also uses UTC to be independent of timezone settings. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d79c4bd..99406ef 100644 --- a/Makefile +++ b/Makefile @@ -270,7 +270,7 @@ ${TARGLIB}.so.${MAJOR}: ${TARGLIB}.so.${MAJOR}.${MINOR} # file around. Generate it such that the ident command can find it # and strings -a | grep InfiniPath does a reasonable job as well. ${TARGLIB}.so.${MAJOR}.${MINOR}: ${${TARGLIB}-objs} - date +'char psmi_infinipath_revision[] ="$$""Date: %F %R ${rpm_extra_description}InfiniPath $$";' > ${lib_build_dir}/_revision.c + date -u -d@$${SOURCE_DATE_EPOCH:-$$(date +%s)} +'char psmi_infinipath_revision[] ="$$""Date: %F %R ${rpm_extra_description}InfiniPath $$";' > ${lib_build_dir}/_revision.c $(CC) -c $(BASECFLAGS) $(INCLUDES) _revision.c -o _revision.o $(CC) $(LDFLAGS) -o $@ -Wl,-soname=${TARGLIB}.so.${MAJOR} -shared -Wl,--unique='*fastpath*' \ ${${TARGLIB}-objs} _revision.o -L$(build_dir)/ipath $(LDLIBS) ++++++ sysmacros.patch ++++++ Index: infinipath-psm-3.3.26.604758e/ipath/ipath_proto.c =================================================================== --- infinipath-psm-3.3.26.604758e.orig/ipath/ipath_proto.c +++ infinipath-psm-3.3.26.604758e/ipath/ipath_proto.c @@ -39,6 +39,7 @@ #include <sys/poll.h> #include <sys/types.h> #include <sys/stat.h> +#include <sys/sysmacros.h> #include <stdint.h> #include <stdlib.h> #include <stddef.h>