diff --git a/keepalived.changes b/keepalived.changes index 3e3543c..be7b6cf 100644 --- a/keepalived.changes +++ b/keepalived.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Feb 2 01:32:37 UTC 2015 - crrodriguez@opensuse.org + +- Build with -DOPENSSL_NO_SSL_INTERN, if package starts accessing + the SSL library internals it must fail to build now, in upcoming + openSSL versions structures are opaque. +- BuildRequire libnl3 +- Do not strip binaries, fix -debuginfo packages. + ------------------------------------------------------------------- Sun Nov 09 05:21:00 UTC 2014 - Led diff --git a/keepalived.spec b/keepalived.spec index bc9bbcc..48b41d1 100644 --- a/keepalived.spec +++ b/keepalived.spec @@ -1,7 +1,7 @@ # # spec file for package keepalived # -# Copyright (c) 2014 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 @@ -32,6 +32,8 @@ Source1: keepalived.service Source2: keepalive-rpmlintrc Patch1: keepalive-init.patch BuildRequires: openssl-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libnl-3.0) # BuildRequires: netsnmp-devel BuildRequires: popt-devel %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -65,6 +67,8 @@ resilient infrastructures. %patch1 %build +export STRIP=true +export CFLAGS="%optflags -DOPENSSL_NO_SSL_INTERN" %configure make %{?_smp_mflags}