[sr-dev] git:master:03c2ea28: pkg/kamailio/obs: disabled lwsc build on CentOS 6 dist

Sergey Safarov s.safarov at gmail.com
Mon Jun 14 19:57:35 CEST 2021


Module: kamailio
Branch: master
Commit: 03c2ea28767106333ee04c5e19ee490c010dfb58
URL: https://github.com/kamailio/kamailio/commit/03c2ea28767106333ee04c5e19ee490c010dfb58

Author: Sergey Safarov <s.safarov at gmail.com>
Committer: Sergey Safarov <s.safarov at gmail.com>
Date: 2021-06-14T20:57:12+03:00

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

---

Modified: pkg/kamailio/obs/kamailio.spec

---

Diff:  https://github.com/kamailio/kamailio/commit/03c2ea28767106333ee04c5e19ee490c010dfb58.diff
Patch: https://github.com/kamailio/kamailio/commit/03c2ea28767106333ee04c5e19ee490c010dfb58.patch

---

diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 43ec4feb1a..8e9483bada 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -14,6 +14,7 @@
 %bcond_without jansson
 %bcond_without json
 %bcond_without lua
+%bcond_without lwsc
 %bcond_without kazoo
 %bcond_without memcached
 %bcond_without mongodb
@@ -46,6 +47,7 @@
 %bcond_without jansson
 %bcond_without json
 %bcond_without lua
+%bcond_with lwsc
 %bcond_without kazoo
 %bcond_without memcached
 %bcond_with mongodb
@@ -79,6 +81,7 @@
 %bcond_without jansson
 %bcond_without json
 %bcond_without lua
+%bcond_without lwsc
 %bcond_without kazoo
 %bcond_without memcached
 %bcond_without mongodb
@@ -122,6 +125,7 @@
 %bcond_without jansson
 %bcond_without json
 %bcond_without lua
+%bcond_without lwsc
 %bcond_without kazoo
 %bcond_without memcached
 %bcond_without mongodb
@@ -148,6 +152,7 @@
 %bcond_without jansson
 %bcond_without json
 %bcond_without lua
+%bcond_without lwsc
 %bcond_with kazoo
 %bcond_without memcached
 %bcond_with mongodb
@@ -611,6 +616,7 @@ Lua extensions for Kamailio.
 %endif
 
 
+%if %{with lwsc}
 %package    lwsc
 Summary:    Websocket client implementation to interact with external systems, similar to http client
 Group:      %{PKGGROUP}
@@ -619,6 +625,7 @@ BuildRequires:  libwebsockets-devel
 
 %description    lwsc
 Websocket client implementation to interact with external systems, similar to http client.
+%endif
 
 
 %if %{with memcached}
@@ -1138,7 +1145,9 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
 %if %{with lua}
     klua \
 %endif
+%if %{with lwsc}
     klwsc \
+%endif
 %if %{with memcached}
     kmemcached \
 %endif
@@ -1231,7 +1240,9 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
 %if %{with lua}
     klua \
 %endif
+%if %{with lwsc}
     klwsc \
+%endif
 %if %{with memcached}
     kmemcached \
 %endif
@@ -1894,10 +1905,12 @@ fi
 %endif
 
 
+%if %{with lwsc}
 %files      lwsc
 %defattr(-,root,root)
 %doc %{_docdir}/kamailio/modules/README.lwsc
 %{_libdir}/kamailio/modules/lwsc.so
+%endif
 
 %if %{with memcached}
 %files      memcached




More information about the sr-dev mailing list