commit 7c510570e091ba3acbbd82de4114b74fb7b62702
Author: Jacek Konieczny <[email protected]>
Date:   Fri Jun 21 14:42:05 2013 +0200

    fixes in systemd support for -corosync subpackage
    
    dependencies and preun fixes

 pacemaker.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/pacemaker.spec b/pacemaker.spec
index fe1ec0b..23cbd2a 100644
--- a/pacemaker.spec
+++ b/pacemaker.spec
@@ -34,6 +34,7 @@ BuildRequires:        pam-devel
 BuildRequires: pkgconfig
 BuildRequires: python-devel
 BuildRequires: rpm-pythonprov
+BuildRequires:  rpmbuild(macros) >= 1.644
 BuildRequires: swig
 BuildRequires: pciutils-devel
 BuildRequires: cluster-glue-libs-devel
@@ -83,6 +84,7 @@ This package allows using Pacemaker on a Heartbeat cluster.
 Summary:       Pacemaker for Corosync cluster
 Group:         Applications/System
 Requires:      corosync
+Requires:       systemd-units >= 38
 Requires:      %{name} = %{version}-%{release}
 
 %description corosync
@@ -152,7 +154,6 @@ rm -rf $RPM_BUILD_ROOT
 %post corosync
 /sbin/chkconfig --add %{name}
 %service %{name} restart "%{name} daemon"
-
 %systemd_post %{name}.service
 
 %preun
@@ -160,6 +161,8 @@ if [ "$1" = "0" ]; then
         %service %{name} stop
         /sbin/chkconfig --del %{name}
 fi
+
+%preun corosync
 %systemd_preun %{name}.service
 
 %postun corosync
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pacemaker.git/commitdiff/f4369631f115b1a1534b5f41e1c879948059e8bd

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to