Module: kamailio
Branch: master
Commit: cdafda78c9fc98d9d9fdb7f94e77c9bc60ebf4d1
URL:
https://github.com/kamailio/kamailio/commit/cdafda78c9fc98d9d9fdb7f94e77c9b…
Author: Sergey Safarov <s.safarov(a)anycast-lb.net>
Committer: Sergey Safarov <s.safarov(a)anycast-lb.net>
Date: 2024-11-23T22:03:17+02:00
pkg/kamailio: added support for CentOS 10 [skip-ci]
---
Modified: pkg/kamailio/obs/kamailio.spec
---
Diff:
https://github.com/kamailio/kamailio/commit/cdafda78c9fc98d9d9fdb7f94e77c9b…
Patch:
https://github.com/kamailio/kamailio/commit/cdafda78c9fc98d9d9fdb7f94e77c9b…
---
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 04eb6ba9076..9c32a293be2 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -113,21 +113,21 @@
%bcond_without wolfssl
%endif
-%if 0%{?rhel} == 9
+%if 0%{?rhel} == 9 || 0%{?rhel} == 10
%if 0%{?centos_ver}
%define dist_name centos
%define dist_version %{?centos}
-%define dist .el9.centos
+%define dist .el%{?centos_ver}.centos
%endif
%if 0%{?almalinux_ver}
%define dist_name centos
%define dist_version %{?almalinux}
-%define dist .el9.almalinux
+%define dist .el%{?almalinux_ver}.almalinux
%endif
%if 0%{?rocky_ver}
%define dist_name centos
%define dist_version %{?rocky}
-%define dist .el9.rocky
+%define dist .el%{?rocky_ver}.rocky
%endif
%if 0%{?centos_ver} == 0 && 0%{?almalinux_ver} == 0 && 0%{?rocky_ver} ==
0
%define dist_name rhel