Module: kamailio
Branch: 5.5
Commit: ee52692185a959a30d30382d72fb9578917d59b6
URL:
https://github.com/kamailio/kamailio/commit/ee52692185a959a30d30382d72fb957…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2023-02-10T16:48:44+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/ee52692185a959a30d30382d72fb957…
Patch:
https://github.com/kamailio/kamailio/commit/ee52692185a959a30d30382d72fb957…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index dc341430327..58b0e572cf2 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -728,8 +728,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.