Module: kamailio
Branch: master
Commit: db634e7fb3e5913238561afb4381363bbfe58882
URL:
https://github.com/kamailio/kamailio/commit/db634e7fb3e5913238561afb4381363…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2023-02-10T16:47:04+03:00
pkg/kamailio: fixed rpm packging for CentOS 6
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/db634e7fb3e5913238561afb4381363…
Patch:
https://github.com/kamailio/kamailio/commit/db634e7fb3e5913238561afb4381363…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 36b3d65f08..bb608525b5 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.