[packages/asterisk/ASTERISK_12] Disable corosync for now
jajcus
jajcus at pld-linux.org
Tue Jan 7 16:36:25 CET 2014
commit 839d3beab26b46aa3fde8daf92a1a463051e61c0
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Tue Jan 7 15:20:01 2014 +0100
Disable corosync for now
It is broken – https://issues.asterisk.org/jira/browse/ASTERISK-22912
asterisk.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/asterisk.spec b/asterisk.spec
index d1097fa..7086173 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -21,6 +21,7 @@
#
# Conditional build:
%bcond_with h323 # without h323 support
+%bcond_with verbose # res_corosync module (broken in 12.0.0)
%bcond_without apidocs # disable apidocs building
%bcond_without verbose # verbose build
@@ -56,7 +57,7 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: bluez-libs-devel
-BuildRequires: corosync-devel >= 2.0.0
+%{?with_corosync:BuildRequires: corosync-devel >= 2.0.0}
BuildRequires: curl-devel
BuildRequires: dahdi-linux-devel
BuildRequires: dahdi-tools-devel >= 2.0.0
@@ -519,6 +520,9 @@ install %{SOURCE13} .
%if %{without h323}
sed -i -e 's#\(MENUSELECT_ADDONS=.*\)#\1 chan_ooh323#g' menuselect.makeopts
%endif
+%if %{without corosync}
+sed -i -e 's#\(MENUSELECT_RES=.*\)#\1 res_corosync#g' menuselect.makeopts
+%endif
%build
rm -f pbx/.depend
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/asterisk.git/commitdiff/ae59ee51a1d34f333d714ea6c75bea73657d6d5b
More information about the pld-cvs-commit
mailing list