Author: kiesiu                       Date: Fri Jun 29 10:02:01 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added systemd tmpfiles config

---- Files affected:
packages/resource-agents:
   resource-agents.spec (1.14 -> 1.15) , resource-agents.tmpfiles (NONE -> 1.1) 
 (NEW)

---- Diffs:

================================================================
Index: packages/resource-agents/resource-agents.spec
diff -u packages/resource-agents/resource-agents.spec:1.14 
packages/resource-agents/resource-agents.spec:1.15
--- packages/resource-agents/resource-agents.spec:1.14  Tue Oct 25 00:46:17 2011
+++ packages/resource-agents/resource-agents.spec       Fri Jun 29 12:01:56 2012
@@ -10,6 +10,7 @@
 Source0:       https://github.com/ClusterLabs/resource-agents/tarball/v3.9.2
 # Source0-md5: 3b5790e8041f2a459d8a0ff310682bfe
 Source1:       ldirectord.init
+Source2:       %{name}.tmpfiles
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: cluster-glue-libs-devel
@@ -78,7 +79,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/ha.d/resource.d
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/ha.d/resource.d \
+       $RPM_BUILD_ROOT%{systemdtmpfilesdir}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
@@ -88,6 +90,7 @@
 rm -f $RPM_BUILD_ROOT/etc/rc.d/init.d/ldirectord
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ldirectord
 cp -a ldirectord/ldirectord.cf $RPM_BUILD_ROOT%{_sysconfdir}/ha.d
+install %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
 # Dont package static libs or compiled python
 find $RPM_BUILD_ROOT -name '*.a' -type f -print0 | xargs -0 rm -f
@@ -150,6 +153,7 @@
 %{_mandir}/man7/*.7*
 %{_mandir}/man8/ocf-tester.8*
 %{_mandir}/man8/sfex_init.8*
+%{systemdtmpfilesdir}/%{name}.conf
 
 
 %files -n ldirectord
@@ -167,6 +171,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2012/06/29 10:01:56  kiesiu
+- added systemd tmpfiles config
+
 Revision 1.14  2011/10/24 22:46:17  mguevara
 - up to 3.9.2-1
 

================================================================
Index: packages/resource-agents/resource-agents.tmpfiles
diff -u /dev/null packages/resource-agents/resource-agents.tmpfiles:1.1
--- /dev/null   Fri Jun 29 12:02:01 2012
+++ packages/resource-agents/resource-agents.tmpfiles   Fri Jun 29 12:01:56 2012
@@ -0,0 +1 @@
+d /var/run/resource-agents 1755 root root -
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/packages/resource-agents/resource-agents.spec?r1=1.14&r2=1.15

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to