[packages/corosync] rel 2; add /var/log/cluster

mmazur mmazur at pld-linux.org
Thu Dec 20 14:11:26 CET 2012


commit 1ffd5e8938248d411831bab28f873aebc44e0d93
Author: Mariusz Mazur <mmazur at pld-linux.org>
Date:   Thu Dec 20 14:10:28 2012 +0100

    rel 2; add /var/log/cluster
    
    The default corosync.conf suggests /var/log/cluster as a destination for
    logging, so let's make sure that directory is actually there.

 corosync.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/corosync.spec b/corosync.spec
index eab400c..1944646 100644
--- a/corosync.spec
+++ b/corosync.spec
@@ -13,7 +13,7 @@ Summary:	Corosync - OSI Certified implementation of a complete cluster engine
 Summary(pl.UTF-8):	Corosync - implementacja silnika klastrowego certyfikowana przez OSI
 Name:		corosync
 Version:	2.2.0
-Release:	1
+Release:	2
 License:	BSD
 Group:		Base
 Source0:	http://corosync.org/download/%{name}-%{version}.tar.gz
@@ -145,6 +145,7 @@ This package contains corosync test agents.
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/sysconfig}
+install -d $RPM_BUILD_ROOT/var/log/cluster
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -239,6 +240,7 @@ fi
 /etc/dbus-1/system.d/corosync-signals.conf
 %endif
 /var/lib/corosync
+%dir /var/log/cluster
 
 %files libs
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/corosync.git/commitdiff/1ffd5e8938248d411831bab28f873aebc44e0d93



More information about the pld-cvs-commit mailing list