Dominique Leuenberger 2018-11-06 13:10:55 +00:00 committed by Git OBS Bridge
commit d7d00c0e03
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 23 19:24:37 UTC 2018 - Bernhard Wiedemann <bwiedemann@suse.com>
- Extend reproducible.patch to fix all build dates
-------------------------------------------------------------------
Thu Aug 2 09:21:12 UTC 2018 - schwab@suse.de

View File

@ -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*' \