From 1ffd5e8938248d411831bab28f873aebc44e0d93 Mon Sep 17 00:00:00 2001 From: Mariusz Mazur Date: Thu, 20 Dec 2012 14:10:28 +0100 Subject: [PATCH] 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) -- 2.43.0