From 6f60e9f95f5b580974709025700d61eaa2c8b783f0e2b49e42b8b396655688d4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 28 Jan 2016 13:11:17 +0000 Subject: [PATCH] Accepting request 356497 from home:darix:branches:network - use package name buildrequires on sle11 to fix building OBS-URL: https://build.opensuse.org/request/show/356497 OBS-URL: https://build.opensuse.org/package/show/network/keepalived?expand=0&rev=21 --- keepalived.changes | 5 +++++ keepalived.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/keepalived.changes b/keepalived.changes index 6e8ec35..f13852c 100644 --- a/keepalived.changes +++ b/keepalived.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 28 12:13:36 UTC 2016 - mrueckert@suse.de + +- use package name buildrequires on sle11 to fix building + ------------------------------------------------------------------- Thu Jan 28 11:46:11 UTC 2016 - mrueckert@suse.de diff --git a/keepalived.spec b/keepalived.spec index 5fa5ffd..80e979e 100644 --- a/keepalived.spec +++ b/keepalived.spec @@ -37,7 +37,11 @@ BuildRequires: net-snmp-devel BuildRequires: snmp-mibs BuildRequires: openssl-devel BuildRequires: pkgconfig +%if 0%{?suse_version} > 1110 BuildRequires: pkgconfig(libnl-3.0) +%else +BuildRequires: libnl-devel +%endif # BuildRequires: netsnmp-devel BuildRequires: popt-devel %if 0%{?suse_version} && 0%{?suse_version} <= 1110