Fix init script priority and update to 1.1.19 with the modprobe fix on F-12

and F-11.
This commit is contained in:
Matthias Saou 2009-12-08 15:46:55 +00:00
parent cac799a8d4
commit 38366d75ad
2 changed files with 10 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# #
# keepalived High Availability monitor built upon LVS and VRRP # keepalived High Availability monitor built upon LVS and VRRP
# #
# chkconfig: - 21 79 # chkconfig: - 86 14
# description: Robust keepalive facility to the Linux Virtual Server project \ # description: Robust keepalive facility to the Linux Virtual Server project \
# with multilayer TCP/IP stack checks. # with multilayer TCP/IP stack checks.
@ -10,8 +10,8 @@
# Provides: keepalived # Provides: keepalived
# Required-Start: $local_fs $network $named $syslog # Required-Start: $local_fs $network $named $syslog
# Required-Stop: $local_fs $network $named $syslog # Required-Stop: $local_fs $network $named $syslog
# Should-Start: httpd # Should-Start: smtpdaemon httpd
# Should-Stop: httpd # Should-Stop: smtpdaemon httpd
# Default-Start: # Default-Start:
# Default-Stop: 0 1 2 3 4 5 6 # Default-Stop: 0 1 2 3 4 5 6
# Short-Description: High Availability monitor built upon LVS and VRRP # Short-Description: High Availability monitor built upon LVS and VRRP

View File

@ -1,10 +1,7 @@
# Ugly, but we need headers from a kernel to rebuild against
%define kernel %(rpm -q kernel-devel --qf '%{RPMTAG_VERSION}-%{RPMTAG_RELEASE}\\n' 2>/dev/null | head -1)
Summary: HA monitor built upon LVS, VRRP and service pollers Summary: HA monitor built upon LVS, VRRP and service pollers
Name: keepalived Name: keepalived
Version: 1.1.19 Version: 1.1.19
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://www.keepalived.org/ URL: http://www.keepalived.org/
@ -48,8 +45,8 @@ healthchecks and LVS directors failover.
%build %build
# Get the first available kernel build dir for our version, expanding arch # Get the most recent available kernel build dir, allows to expand arch too
KERNELDIR=$(ls -1d /lib/modules/%{kernel}*/build | head -1) KERNELDIR=$(ls -1d --sort t /lib/modules/*/build | head -1)
%configure --with-kernel-dir="${KERNELDIR}" %configure --with-kernel-dir="${KERNELDIR}"
%{__make} %{?_smp_mflags} STRIP=/bin/true %{__make} %{?_smp_mflags} STRIP=/bin/true
@ -108,6 +105,10 @@ fi
%changelog %changelog
* Tue Dec 8 2009 Matthias Saou <http://freshrpms.net/> 1.1.19-3
- Update init script to have keepalived start after the local MTA (#526512).
- Simplify the kernel source detection, to avoid running rpm from rpmbuild.
* Tue Nov 24 2009 Matthias Saou <http://freshrpms.net/> 1.1.19-2 * Tue Nov 24 2009 Matthias Saou <http://freshrpms.net/> 1.1.19-2
- Include patch to remove obsolete -k option to modprobe (#528465). - Include patch to remove obsolete -k option to modprobe (#528465).