]> git.pld-linux.org Git - packages/corosync.git/commitdiff
rel 2; add /var/log/cluster
authorMariusz Mazur <mmazur@pld-linux.org>
Thu, 20 Dec 2012 13:10:28 +0000 (14:10 +0100)
committerMariusz Mazur <mmazur@pld-linux.org>
Thu, 20 Dec 2012 13:10:28 +0000 (14:10 +0100)
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

index eab400c9d611aca23dcde9dc3b01c3de1caab2e8..1944646bba3c33689a4bba27e4047bb2086b8ce6 100644 (file)
@@ -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)
This page took 0.382318 seconds and 4 git commands to generate.