From 4afd5f1d6b4a96e18e81009a24186bfa3b649b75753d7573f2820be0dc777d51 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 21 Sep 2022 08:26:43 +0000 Subject: [PATCH] Accepting request 1005081 from home:StefanBruens:branches:science - Remove timestamp/buildhost/kernel version from libhdf5.settings OBS-URL: https://build.opensuse.org/request/show/1005081 OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=157 --- hdf5.changes | 5 +++++ hdf5.spec | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/hdf5.changes b/hdf5.changes index 49f130d..1464aa2 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 21 01:09:47 UTC 2022 - Stefan BrĂ¼ns + +- Remove timestamp/buildhost/kernel version from libhdf5.settings + ------------------------------------------------------------------- Wed Jul 27 23:42:38 UTC 2022 - Atri Bhattacharya diff --git a/hdf5.spec b/hdf5.spec index 1711188..67966e4 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -775,6 +775,14 @@ export MPICXX=mpicxx --with-pthread \ %{nil} +# Remove timestamp/buildhost/kernel version +export SDE_DATE=$(date -d @${SOURCE_DATE_EPOCH} -u) +export UNAME_M_O=$(uname -m -o) +sed -i -e "s/\(Configured on: \).*/\1 $SDE_DATE/" \ + -e "s#\(Uname information: \).*#\1 $UNAME_M_O#" \ + -e "s/\(Configured by: \).*/\1 abuild@OBS/" \ + src/libhdf5.settings + make V=1 %{?_smp_mflags} %install