File: reproducibility.patch

package info (click to toggle)
hdf5 1.14.5%2Brepack-3.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 208,864 kB
  • sloc: ansic: 715,772; f90: 42,941; java: 38,102; sh: 30,925; xml: 18,706; cpp: 18,011; makefile: 2,423; perl: 2,383; yacc: 332; python: 262; javascript: 203; lex: 157; ruby: 24; csh: 22
file content (26 lines) | stat: -rw-r--r-- 921 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: hdf5/configure.ac
===================================================================
--- hdf5.orig/configure.ac
+++ hdf5/configure.ac
@@ -246,7 +246,7 @@ AC_MSG_RESULT([done])
 ## Save system information for the library settings file.
 ##
 AC_SUBST([UNAME_INFO])
-UNAME_INFO=`uname -a`
+UNAME_INFO=Debian
 
 ## ----------------------------------------------------------------------
 ## Some platforms have broken basename, and/or xargs programs. Check
@@ -4029,10 +4029,10 @@ H5_VERSION="`cut -d' ' -f3 $srcdir/READM
 AC_SUBST([H5_VERSION])
 
 ## Configuration date
-AC_SUBST([CONFIG_DATE]) CONFIG_DATE="`date`"
+AC_SUBST([CONFIG_DATE]) CONFIG_DATE="$(date -u -R -d @$SOURCE_DATE_EPOCH)"
 
 ## User doing the configuration
-AC_SUBST([CONFIG_USER]) CONFIG_USER="`whoami`@`hostname`"
+AC_SUBST([CONFIG_USER]) CONFIG_USER="Debian"
 if test -n "$ORGANIZATION"; then
   CONFIG_USER="$CONFIG_USER at $ORGANIZATION"
 fi