Use libnl for Fedora and RHEL6+ to add IPv6 support

This commit is contained in:
Matthias Saou 2011-07-12 20:15:14 +02:00
parent 31a1bc35c6
commit 921ff3c828

View File

@ -1,7 +1,7 @@
Summary: HA monitor built upon LVS, VRRP and service pollers Summary: High Availability monitor built upon LVS, VRRP and service pollers
Name: keepalived Name: keepalived
Version: 1.2.2 Version: 1.2.2
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://www.keepalived.org/ URL: http://www.keepalived.org/
@ -14,6 +14,12 @@ Requires(post): /sbin/chkconfig
Requires(preun): /sbin/service, /sbin/chkconfig Requires(preun): /sbin/service, /sbin/chkconfig
Requires(postun): /sbin/service Requires(postun): /sbin/service
BuildRequires: openssl-devel BuildRequires: openssl-devel
%if 0%{?fedora:1} || 0%{?rhel} >= 6
BuildRequires: libnl-devel
%else
# The RHEL <= 5 libnl is too old for the compilation to work
BuildConflicts: libnl-devel < 1.1
%endif
# We need both of these for proper LVS support # We need both of these for proper LVS support
BuildRequires: kernel, kernel-devel BuildRequires: kernel, kernel-devel
# We need popt, popt-devel is split out of rpm in Fedora 8+ and RHEL 6+ # We need popt, popt-devel is split out of rpm in Fedora 8+ and RHEL 6+
@ -103,6 +109,9 @@ fi
%changelog %changelog
* Tue Jul 23 2011 Matthias Saou <http://freshrpms.net/> 1.2.2-2
- Build against libnl for Fedora. RHEL's libnl is too old.
* Sat May 21 2011 Matthias Saou <http://freshrpms.net/> 1.2.2-1 * Sat May 21 2011 Matthias Saou <http://freshrpms.net/> 1.2.2-1
- Update to 1.2.2. - Update to 1.2.2.