forked from pool/openssl
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
This commit is contained in:
parent
9f18cdd3d8
commit
840c62159b
@ -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
|
Fri Jan 9 10:03:37 UTC 2015 - meissner@suse.com
|
||||||
|
|
||||||
|
13
openssl.spec
13
openssl.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openssl
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -223,9 +223,6 @@ wq
|
|||||||
EOF_ED
|
EOF_ED
|
||||||
# fix ENGINESDIR path
|
# fix ENGINESDIR path
|
||||||
sed -i 's,/lib/engines,/%_lib/engines,' Configure
|
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
|
%build
|
||||||
|
|
||||||
@ -296,6 +293,14 @@ $(getconf LFS_CFLAGS) \
|
|||||||
linux64-sparcv9 \
|
linux64-sparcv9 \
|
||||||
%endif
|
%endif
|
||||||
$config_flags
|
$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 depend
|
||||||
make
|
make
|
||||||
LD_LIBRARY_PATH=`pwd` make rehash
|
LD_LIBRARY_PATH=`pwd` make rehash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user