[keepalived/f19] Fix unexpanded macros in scripts (#1009888)

rohara rohara at fedoraproject.org
Thu Sep 19 15:40:23 UTC 2013


commit 4326678d44cec0734902a46ccff2d97a9a0e42f1
Author: Ryan O'Hara <rohara at redhat.com>
Date:   Thu Sep 19 10:38:57 2013 -0500

    Fix unexpanded macros in scripts (#1009888)

 keepalived.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/keepalived.spec b/keepalived.spec
index 2282cff..aa40dd9 100644
--- a/keepalived.spec
+++ b/keepalived.spec
@@ -9,7 +9,7 @@
 Name: keepalived
 Summary: High Availability monitor built upon LVS, VRRP and service pollers
 Version: 1.2.8
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 URL: http://www.keepalived.org/
 Group: System Environment/Daemons
@@ -17,10 +17,10 @@ Group: System Environment/Daemons
 Source0: http://www.keepalived.org/software/keepalived-%{version}.tar.gz
 Source1: keepalived.init
 
-Requires(post): /sbin/chkconfig
-Requires(preun): /sbin/chkconfig
-Requires(preun): /sbin/service
-Requires(postun): /sbin/service
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+BuildRequires: systemd
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 %if %{with snmp}
@@ -101,6 +101,9 @@ rm -rf %{buildroot}
 %{_mandir}/man8/keepalived.8*
 
 %changelog
+* Thu Sep 19 2013 Ryan O'Hara <rohara at redhat.com> - 1.2.8-2
+- Fix unexapnded macros in scripts (#1009888).
+
 * Thu Sep 05 2013 Ryan O'Hara <rohara at redhat.com> - 1.2.8-1
 - Update to 1.2.8.
 


More information about the scm-commits mailing list