From 840c62159b8c0f5e78f9decc009d21c9deb6dc01fa6cf4a7ff6eacad6ae7fdc6 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 6 Feb 2015 09:50:56 +0000 Subject: [PATCH] Accepting request 284003 from Base:System - The DATE stamp moved from crypto/Makefile to crypto/buildinf.h, replace it there (bsc#915947) OBS-URL: https://build.opensuse.org/request/show/284003 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl?expand=0&rev=125 --- openssl.changes | 6 ++++++ openssl.spec | 13 +++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/openssl.changes b/openssl.changes index 8b7cd52..3072109 100644 --- a/openssl.changes +++ b/openssl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 4 08:08:27 UTC 2015 - meissner@suse.com + +- The DATE stamp moved from crypto/Makefile to crypto/buildinf.h, + replace it there (bsc#915947) + ------------------------------------------------------------------- Fri Jan 9 10:03:37 UTC 2015 - meissner@suse.com diff --git a/openssl.spec b/openssl.spec index bbde688..bda31bc 100644 --- a/openssl.spec +++ b/openssl.spec @@ -1,7 +1,7 @@ # # spec file for package openssl # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -223,9 +223,6 @@ wq EOF_ED # fix ENGINESDIR path sed -i 's,/lib/engines,/%_lib/engines,' Configure -# Record mtime of changes file instead of build time -CHANGES=`stat --format="%y" %SOURCE1` -sed -i -e "s|#define DATE \(.*\).LC_ALL.*date.|#define DATE \1$CHANGES|" crypto/Makefile %build @@ -296,6 +293,14 @@ $(getconf LFS_CFLAGS) \ linux64-sparcv9 \ %endif $config_flags + + # Record mtime of changes file instead of build time to make build-compare work + make PERL=perl -C crypto buildinf.h + CHANGES=`stat --format="%y" %SOURCE1` + cat crypto/buildinf.h + sed -i -e "s|#define DATE .*|#define DATE \"built on: $CHANGES\"|" crypto/buildinf.h + cat crypto/buildinf.h + make depend make LD_LIBRARY_PATH=`pwd` make rehash