diff --git a/infinipath-psm.changes b/infinipath-psm.changes index cacd76f..dfdb48e 100644 --- a/infinipath-psm.changes +++ b/infinipath-psm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 23 19:24:37 UTC 2018 - Bernhard Wiedemann + +- Extend reproducible.patch to fix all build dates + ------------------------------------------------------------------- Thu Aug 2 09:21:12 UTC 2018 - schwab@suse.de diff --git a/reproducible.patch b/reproducible.patch index 518bb41..8599cfd 100644 --- a/reproducible.patch +++ b/reproducible.patch @@ -26,3 +26,17 @@ index d79c4bd..99406ef 100644 $(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) + +Index: infinipath-psm-3.3.26.604758e/ipath/Makefile +=================================================================== +--- infinipath-psm-3.3.26.604758e.orig/ipath/Makefile ++++ infinipath-psm-3.3.26.604758e/ipath/Makefile +@@ -70,7 +70,7 @@ ${TARGLIB}.so.${MAJOR}: ${TARGLIB}.so.${ + # 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 +'static __attribute__ ((unused)) char __psc_infinipath_revision[] ="$$""Date: %F %R ${rpm_extra_description}InfiniPath $$";' > _revision.c ++ date -u -d@$${SOURCE_DATE_EPOCH:-$$(date +%s)} +'static __attribute__ ((unused)) char __psc_infinipath_revision[] ="$$""Date: %F %R ${rpm_extra_description}InfiniPath $$";' > _revision.c + $(CC) -c $(BASECFLAGS) $(INCLUDES) _revision.c -o _revision.o + $(CC) -o $@ -Wl,-soname=${TARGLIB}.so.${MAJOR} -shared \ + -Wl,--unique='*fastpath*' \