Module: kamailio Branch: 5.1 Commit: c03ba1f14f74b94d2ced1c79a8b44645ec636563 URL: https://github.com/kamailio/kamailio/commit/c03ba1f14f74b94d2ced1c79a8b44645ec636563
Author: Sergey Safarov <[email protected]> Committer: Sergey Safarov <[email protected]> Date: 2019-06-14T12:19:29+03:00 pkg/kamailio/obs: Updated libevent2 deps for CentOS 6 dist [skip ci] (cherry picked from commit a54b36e2533a71d8e38c03b497b470110a1e33fb) --- Modified: pkg/kamailio/obs/kamailio.spec --- Diff: https://github.com/kamailio/kamailio/commit/c03ba1f14f74b94d2ced1c79a8b44645ec636563.diff Patch: https://github.com/kamailio/kamailio/commit/c03ba1f14f74b94d2ced1c79a8b44645ec636563.patch --- diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec index 8803cffd39..9a7c7ca00e 100644 --- a/pkg/kamailio/obs/kamailio.spec +++ b/pkg/kamailio/obs/kamailio.spec @@ -74,12 +74,12 @@ %bcond_with cnxcc %bcond_without dnssec %bcond_without geoip -%bcond_with http_async_client +%bcond_without http_async_client %bcond_without ims -%bcond_with jansson -%bcond_with json +%bcond_without jansson +%bcond_without json %bcond_without lua -%bcond_with kazoo +%bcond_without kazoo %bcond_without memcached %bcond_with mongodb %bcond_without perl @@ -418,8 +418,14 @@ Compressed body (SIP and HTTP) handling for kamailio. %package http_async_client Summary: Async HTTP client module for Kamailio Group: System Environment/Daemons -Requires: libevent, kamailio = %ver -BuildRequires: libevent-devel +Requires: kamailio = %ver +%if 0%{?rhel} == 6 +Requires: libevent2 +BuildRequires: libevent2-devel +%else +Requires: libevent +BuildRequires: libevent-devel +%endif %if 0%{?suse_version} Requires: libcurl4 BuildRequires: libcurl-devel @@ -464,7 +470,14 @@ IMS modules and extensions module for Kamailio. %package jansson Summary: JSON string handling and RPC modules for Kamailio using JANSSON library Group: System Environment/Daemons -Requires: libevent, kamailio = %ver +Requires: kamailio = %ver +%if 0%{?rhel} == 6 +Requires: libevent2 +BuildRequires: libevent2-devel +%else +Requires: libevent +BuildRequires: libevent-devel +%endif %if 0%{?suse_version} Requires: libjson-c2 BuildRequires: libjansson-devel @@ -482,8 +495,14 @@ JSON string handling and RPC modules for Kamailio using JANSSON library. %package json Summary: JSON string handling and RPC modules for Kamailio Group: System Environment/Daemons -Requires: libevent, kamailio = %ver +Requires: kamailio = %ver +%if 0%{?rhel} == 6 +Requires: libevent2 +BuildRequires: libevent2-devel +%else +Requires: libevent BuildRequires: libevent-devel +%endif %if 0%{?suse_version} Requires: libjson-c2 BuildRequires: libjson-c-devel @@ -501,8 +520,15 @@ JSON string handling and RPC modules for Kamailio. %package kazoo Summary: Kazoo middle layer connector support for Kamailio Group: System Environment/Daemons -Requires: libuuid, librabbitmq, json-c, libevent, kamailio = %ver -BuildRequires: libuuid-devel, librabbitmq-devel, json-c-devel, libevent-devel +Requires: libuuid, librabbitmq, json-c, kamailio = %ver +BuildRequires: libuuid-devel, librabbitmq-devel, json-c-devel +%if 0%{?rhel} == 6 +Requires: libevent2 +BuildRequires: libevent2-devel +%else +Requires: libevent +BuildRequires: libevent-devel +%endif %description kazoo Kazoo module for Kamailio. _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
