Accepting request 368163 from home:olh:branches:science

Remove timestamps from binaries

OBS-URL: https://build.opensuse.org/request/show/368163
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=18
This commit is contained in:
Ismail Dönmez 2016-03-08 11:06:15 +00:00 committed by Git OBS Bridge
parent bbed69ec6c
commit aabcdfa8b6
3 changed files with 53 additions and 1 deletions

44
hdf5-buildcompare.patch Normal file
View File

@ -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@

View File

@ -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

View File

@ -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