Browse code

pkg/kamailio/obs: disabled lwsc build on CentOS 6 dist

Sergey Safarov authored on 14/06/2021 12:31:32
Showing 1 changed files
... ...
@@ -14,6 +14,7 @@
14 14
 %bcond_without jansson
15 15
 %bcond_without json
16 16
 %bcond_without lua
17
+%bcond_without lwsc
17 18
 %bcond_without kazoo
18 19
 %bcond_without memcached
19 20
 %bcond_without mongodb
... ...
@@ -46,6 +47,7 @@
46 47
 %bcond_without jansson
47 48
 %bcond_without json
48 49
 %bcond_without lua
50
+%bcond_with lwsc
49 51
 %bcond_without kazoo
50 52
 %bcond_without memcached
51 53
 %bcond_with mongodb
... ...
@@ -79,6 +81,7 @@
79 81
 %bcond_without jansson
80 82
 %bcond_without json
81 83
 %bcond_without lua
84
+%bcond_without lwsc
82 85
 %bcond_without kazoo
83 86
 %bcond_without memcached
84 87
 %bcond_without mongodb
... ...
@@ -122,6 +125,7 @@
122 125
 %bcond_without jansson
123 126
 %bcond_without json
124 127
 %bcond_without lua
128
+%bcond_without lwsc
125 129
 %bcond_without kazoo
126 130
 %bcond_without memcached
127 131
 %bcond_without mongodb
... ...
@@ -148,6 +152,7 @@
148 152
 %bcond_without jansson
149 153
 %bcond_without json
150 154
 %bcond_without lua
155
+%bcond_without lwsc
151 156
 %bcond_with kazoo
152 157
 %bcond_without memcached
153 158
 %bcond_with mongodb
... ...
@@ -611,6 +616,7 @@ Lua extensions for Kamailio.
611 616
 %endif
612 617
 
613 618
 
619
+%if %{with lwsc}
614 620
 %package    lwsc
615 621
 Summary:    Websocket client implementation to interact with external systems, similar to http client
616 622
 Group:      %{PKGGROUP}
... ...
@@ -619,6 +625,7 @@ BuildRequires:  libwebsockets-devel
619 625
 
620 626
 %description    lwsc
621 627
 Websocket client implementation to interact with external systems, similar to http client.
628
+%endif
622 629
 
623 630
 
624 631
 %if %{with memcached}
... ...
@@ -1138,7 +1145,9 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
1138 1145
 %if %{with lua}
1139 1146
     klua \
1140 1147
 %endif
1148
+%if %{with lwsc}
1141 1149
     klwsc \
1150
+%endif
1142 1151
 %if %{with memcached}
1143 1152
     kmemcached \
1144 1153
 %endif
... ...
@@ -1231,7 +1240,9 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
1231 1240
 %if %{with lua}
1232 1241
     klua \
1233 1242
 %endif
1243
+%if %{with lwsc}
1234 1244
     klwsc \
1245
+%endif
1235 1246
 %if %{with memcached}
1236 1247
     kmemcached \
1237 1248
 %endif
... ...
@@ -1894,10 +1905,12 @@ fi
1894 1905
 %endif
1895 1906
 
1896 1907
 
1908
+%if %{with lwsc}
1897 1909
 %files      lwsc
1898 1910
 %defattr(-,root,root)
1899 1911
 %doc %{_docdir}/kamailio/modules/README.lwsc
1900 1912
 %{_libdir}/kamailio/modules/lwsc.so
1913
+%endif
1901 1914
 
1902 1915
 %if %{with memcached}
1903 1916
 %files      memcached