packages: heartbeat/heartbeat.spec, heartbeat/heartbeat.tmpfiles (NEW)=?UTF-8?Q?=20?=- tm...

jajcus jajcus at pld-linux.org
Mon Jun 4 11:12:23 CEST 2012


Author: jajcus                       Date: Mon Jun  4 09:12:23 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- tmpfiles configuration added
- Release: 4

---- Files affected:
packages/heartbeat:
   heartbeat.spec (1.106 -> 1.107) , heartbeat.tmpfiles (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/heartbeat/heartbeat.spec
diff -u packages/heartbeat/heartbeat.spec:1.106 packages/heartbeat/heartbeat.spec:1.107
--- packages/heartbeat/heartbeat.spec:1.106	Mon Oct 24 23:21:37 2011
+++ packages/heartbeat/heartbeat.spec	Mon Jun  4 11:12:18 2012
@@ -12,12 +12,13 @@
 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
@@ -164,7 +165,7 @@
 %{__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}
@@ -186,6 +187,8 @@
 
 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
 
@@ -242,6 +245,7 @@
 %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)
@@ -290,6 +294,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.107  2012/06/04 09:12:18  jajcus
+- tmpfiles configuration added
+- Release: 4
+
 Revision 1.106  2011/10/24 21:21:37  mguevara
 - 3.0.5-3 up to gitrel 7e3a82377fa8, added heartbeat-tls.patch
 

================================================================
Index: packages/heartbeat/heartbeat.tmpfiles
diff -u /dev/null packages/heartbeat/heartbeat.tmpfiles:1.1
--- /dev/null	Mon Jun  4 11:12:23 2012
+++ packages/heartbeat/heartbeat.tmpfiles	Mon Jun  4 11:12:18 2012
@@ -0,0 +1,2 @@
+d /var/run/heartbeat  0755 root root -
+d /var/run/heartbeat/ccm 0750 hacluster haclient -
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/heartbeat/heartbeat.spec?r1=1.106&r2=1.107



More information about the pld-cvs-commit mailing list