Forráskód Böngészése

pkg/kamailio: use radcli on RHEL based dist [skip ci]

(cherry picked from commit c2fc809059e0c70aa4324f5727666989ee8aff05)
Sergey Safarov 3 hónapja
szülő
commit
3bb3b4ef8f
1 módosított fájl, 5 hozzáadás és 5 törlés
  1. 5 5
      pkg/kamailio/obs/kamailio.spec

+ 5 - 5
pkg/kamailio/obs/kamailio.spec

@@ -746,8 +746,8 @@ Summary:    RADIUS modules for Kamailio
 Group:      %{PKGGROUP}
 Requires:   kamailio = %ver
 %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
-Requires:   freeradius-client
-BuildRequires:  freeradius-client-devel
+Requires:   radcli
+BuildRequires:  radcli-devel
 %else
 Requires:   radiusclient-ng
 BuildRequires:  radiusclient-ng-devel
@@ -1072,7 +1072,7 @@ rm -f misc/examples/pkg/sipcapture.cfg
 
 %build
 %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
-export FREERADIUS=1
+export RADCLI=1
 %endif
 make cfg prefix=/usr \
     basedir=%{buildroot} \
@@ -1084,7 +1084,7 @@ make
 make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
     jabber ndb_cassandra osp" \
 %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
-    FREERADIUS=1 \
+    RADCLI=1 \
 %endif
 %if 0%{?rhel} >= 8
     PYTHON3=python3.12 \
@@ -1192,7 +1192,7 @@ make install
 make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
     iptrtpproxy jabber osp" \
 %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
-    FREERADIUS=1 \
+    RADCLI=1 \
 %endif
 %if 0%{?rhel} >= 8
     PYTHON3=python3.12 \