]> git.pld-linux.org Git - packages/pacemaker.git/commitdiff
- move init.d only when building with corosync, there is no init script for heartbeat...
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 6 Jun 2012 09:02:42 +0000 (09:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pacemaker.spec -> 1.17.2.2

pacemaker.spec

index 954f45b8d4b02483a3dd093523cd67f9cea8d2a8..6c403917ce8ead3d29f7a568665e133c66764205 100644 (file)
@@ -139,7 +139,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/heartbeat/plugins/RAExec/*.{la,a}
 
 install %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
 
+%if %{with corosync}
 mv $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.184319 seconds and 4 git commands to generate.