Dominique Leuenberger 2015-02-03 10:40:35 +00:00 committed by Git OBS Bridge
commit 52635fc333
2 changed files with 14 additions and 1 deletions

View File

@ -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 <ledest@gmail.com>

View File

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