]> git.pld-linux.org Git - packages/asterisk.git/commitdiff
Disable corosync for now
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 7 Jan 2014 14:20:01 +0000 (15:20 +0100)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 7 Jan 2014 15:28:21 +0000 (16:28 +0100)
It is broken – https://issues.asterisk.org/jira/browse/ASTERISK-22912

asterisk.spec

index d1097fac0ca1949c83392ae9c52970217356de6e..708617311a1dd9a040a4f6dbfcbe3e46f6d2ca46 100644 (file)
@@ -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
This page took 0.027093 seconds and 4 git commands to generate.