[Pacemaker] [PATCH 1 of 4] Medium: build: service_crm.so is Corosync only, don't try to remove it if it wasn't built

Florian Haas florian.haas at linbit.com
Fri Feb 5 13:47:18 UTC 2010


# HG changeset patch
# User Florian Haas <florian.haas at linbit.com>
# Date 1265372627 -3600
# Branch stable-1.0
# Node ID 512ca0b73892df791160264d73d96ee095f613ae
# Parent  6f67420618b0eb52b3e61abc401e9a2cb5dd8dbd
Medium: build: service_crm.so is Corosync only, don't try to remove it if it wasn't built

diff -r 6f67420618b0 -r 512ca0b73892 pacemaker.spec
--- a/pacemaker.spec	Wed Feb 03 14:59:07 2010 +0100
+++ b/pacemaker.spec	Fri Feb 05 13:23:47 2010 +0100
@@ -149,7 +149,9 @@
 
 # Do not package these either
 rm %{buildroot}/%{_libdir}/heartbeat/crm_primitive.py
+%if %with_ais_support
 rm %{buildroot}/%{_libdir}/service_crm.so
+%endif
 
 %clean
 rm -rf %{buildroot}




More information about the Pacemaker mailing list