Module: kamailio
Branch: 5.6
Commit: b7f8c5a44b0f4d3e09e6cad1eaeeae7e9330cffe
URL:
https://github.com/kamailio/kamailio/commit/b7f8c5a44b0f4d3e09e6cad1eaeeae7…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2023-02-10T16:47:53+03:00
pkg/kamailio: fixed rpm packging for CentOS 6
(cherry picked from commit db634e7fb3e5913238561afb4381363bbfe58882)
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/b7f8c5a44b0f4d3e09e6cad1eaeeae7…
Patch:
https://github.com/kamailio/kamailio/commit/b7f8c5a44b0f4d3e09e6cad1eaeeae7…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 42c9bce60a..5a84894863 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -736,8 +736,12 @@ BuildRequires: zlib-devel
Requires: libmysqlclient18
BuildRequires: libmysqlclient-devel
%else
+%if 0%{?rhel} == 6
+BuildRequires: mysql-devel
+%else
BuildRequires: mariadb-devel
%endif
+%endif
%description mysql
MySQL database connectivity for Kamailio.