]> git.pld-linux.org Git - packages/heartbeat.git/commitdiff
- tmpfiles configuration added auto/th/heartbeat-3_0_5-4
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 4 Jun 2012 09:12:18 +0000 (09:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Release: 4

Changed files:
    heartbeat.spec -> 1.107
    heartbeat.tmpfiles -> 1.1

heartbeat.spec
heartbeat.tmpfiles [new file with mode: 0644]

index 0cf54c579d05327bc6f4e6498d94ab82e6c341e3..dc98e64b65386cf875136c9568a3e0459681bec0 100644 (file)
@@ -11,12 +11,13 @@ Summary(pl.UTF-8):  Podsystem heartbeat dla systemów o podwyższonej niezawodno
 Summary(pt_BR.UTF-8):  Implementa sistema de monitoração (heartbeats) visando Alta Disponibilidade
 Name:          heartbeat
 Version:       3.0.5
-Release:       3
+Release:       4
 License:       GPL v2+
 Group:         Networking/Daemons
 Source0:       http://hg.linux-ha.org/heartbeat-STABLE_3_0/archive/%{gitrel}.tar.bz2
 # Source0-md5: 396510e3c143a9c2288bc52cfc9caa3c
 Source1:       %{name}.init
+Source2:       %{name}.tmpfiles
 Patch0:                %{name}-ac.patch
 Patch1:                %{name}-libs.patch
 Patch2:                %{name}-tls.patch
@@ -163,7 +164,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -j1 install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/var/run/heartbeat
+install -d $RPM_BUILD_ROOT{/var/run/heartbeat,/usr/lib/tmpfiles.d}
 
 # plugins are lt_dlopened, but using *.so names, so *.la are not used
 rm -f $RPM_BUILD_ROOT%{_libdir}/heartbeat/plugins/*/*.{la,a}
@@ -185,6 +186,8 @@ rm $RPM_BUILD_ROOT%{_datadir}/heartbeat/cts/README
 
 sed -i -e's, /%{_lib}/libpam.la, /usr/%{_lib}/libpam.la,g' $RPM_BUILD_ROOT%{_libdir}/*.la
 
+install %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -241,6 +244,7 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ha.d/haresources
 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ha.d/authkeys
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ha.d/ha.cf
+/usr/lib/tmpfiles.d/%{name}.conf
 
 %files libs
 %defattr(644,root,root,755)
diff --git a/heartbeat.tmpfiles b/heartbeat.tmpfiles
new file mode 100644 (file)
index 0000000..4f090b2
--- /dev/null
@@ -0,0 +1,2 @@
+d /var/run/heartbeat  0755 root root -
+d /var/run/heartbeat/ccm 0750 hacluster haclient -
This page took 0.090047 seconds and 4 git commands to generate.