Fix systemd requirements.
This commit is contained in:
parent
5c6debeb7d
commit
306bf7cbee
@ -8,7 +8,7 @@
|
|||||||
Name: keepalived
|
Name: keepalived
|
||||||
Summary: High Availability monitor built upon LVS, VRRP and service pollers
|
Summary: High Availability monitor built upon LVS, VRRP and service pollers
|
||||||
Version: 1.2.7
|
Version: 1.2.7
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.keepalived.org/
|
URL: http://www.keepalived.org/
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -27,15 +27,15 @@ Patch6: keepalived-1.2.7-fix-error-message.patch
|
|||||||
Patch7: keepalived-1.2.7-update-gpl-license.patch
|
Patch7: keepalived-1.2.7-update-gpl-license.patch
|
||||||
Patch9: keepalived-1.2.7-remove-debug-messages.patch
|
Patch9: keepalived-1.2.7-remove-debug-messages.patch
|
||||||
|
|
||||||
Requires(post): /sbin/chkconfig
|
Requires(post): systemd
|
||||||
Requires(preun): /sbin/chkconfig
|
Requires(preun): systemd
|
||||||
Requires(preun): /sbin/service
|
Requires(postun): systemd
|
||||||
Requires(postun): /sbin/service
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
%if %{with snmp}
|
%if %{with snmp}
|
||||||
BuildRequires: net-snmp-devel
|
BuildRequires: net-snmp-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: systemd-units
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: libnl-devel
|
BuildRequires: libnl-devel
|
||||||
BuildRequires: kernel-devel
|
BuildRequires: kernel-devel
|
||||||
@ -121,6 +121,9 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man8/keepalived.8*
|
%{_mandir}/man8/keepalived.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 22 2013 Ryan O'Hara <rohara@redhat.com> - 1.2.7-7
|
||||||
|
- Fix systemd requirements.
|
||||||
|
|
||||||
* Mon Jul 22 2013 Ryan O'Hara <rohara@redhat.com> - 1.2.7-6
|
* Mon Jul 22 2013 Ryan O'Hara <rohara@redhat.com> - 1.2.7-6
|
||||||
- Install the systemd unit file, not the init script.
|
- Install the systemd unit file, not the init script.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user