diff --git a/hdf5-buildcompare.patch b/hdf5-buildcompare.patch new file mode 100644 index 0000000..d5afef6 --- /dev/null +++ b/hdf5-buildcompare.patch @@ -0,0 +1,44 @@ +--- + src/H5detect.c | 12 ------------ + src/libhdf5.settings.in | 3 --- + 2 files changed, 15 deletions(-) + +Index: hdf5-1.8.15/src/H5detect.c +=================================================================== +--- hdf5-1.8.15.orig/src/H5detect.c ++++ hdf5-1.8.15/src/H5detect.c +@@ -1308,18 +1308,6 @@ bit.\n"; + printf("/* Generated automatically by H5detect -- do not edit */\n\n\n"); + HDputs(FileHeader); /*the copyright notice--see top of this file */ + +- printf(" *\n * Created:\t\t%s %2d, %4d\n", +- month_name[tm->tm_mon], tm->tm_mday, 1900 + tm->tm_year); +- if (pwd || real_name[0] || host_name[0]) { +- printf(" *\t\t\t"); +- if (real_name[0]) printf("%s <", real_name); +-#ifdef H5_HAVE_GETPWUID +- if (pwd) HDfputs(pwd->pw_name, stdout); +-#endif +- if (host_name[0]) printf("@%s", host_name); +- if (real_name[0]) printf(">"); +- HDputchar('\n'); +- } + printf(" *\n * Purpose:\t\t"); + for (s = purpose; *s; s++) { + HDputchar(*s); +Index: hdf5-1.8.15/src/libhdf5.settings.in +=================================================================== +--- hdf5-1.8.15.orig/src/libhdf5.settings.in ++++ hdf5-1.8.15/src/libhdf5.settings.in +@@ -4,11 +4,8 @@ + General Information: + ------------------- + HDF5 Version: @H5_VERSION@ +- Configured on: @CONFIG_DATE@ +- Configured by: @CONFIG_USER@ + Configure mode: @CONFIG_MODE@ + Host system: @host_cpu@-@host_vendor@-@host_os@ +- Uname information: @UNAME_INFO@ + Byte sex: @BYTESEX@ + Libraries: @STATIC_SHARED@ + Installation point: @prefix@ diff --git a/hdf5.changes b/hdf5.changes index d033a78..8cc178a 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 7 14:35:44 UTC 2016 - olaf@aepfle.de + +- Remove timestamps from binaries + hdf5-buildcompare.patch + ------------------------------------------------------------------- Thu Jan 28 00:08:01 UTC 2016 - sweet_f_a@gmx.de diff --git a/hdf5.spec b/hdf5.spec index 15f91b8..c489bdc 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -1,7 +1,7 @@ # # spec file for package hdf5 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -55,6 +55,7 @@ Patch2: hdf5-1.8.11-abort_unknown_host_config.patch Patch4: hdf5-1.8.10-tests-arm.patch %endif Patch5: hdf5-ldouble-ppc64le.patch +Patch6: hdf5-buildcompare.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ %if 0%{?suse_version} > 1140 @@ -541,6 +542,7 @@ test "%{sonum}" = "${LT_VERS_INTERFACE}" || exit 1 %patch4 -p0 -b .tests-arm %endif %patch5 -p1 +%patch6 -p1 echo "prepare parallel builds: %_mpi" for build_dir in build %_mpi; do