From: Matthew Newton Date: Fri, 25 Jun 2021 01:31:03 +0000 (+0100) Subject: Use nwkrad json-c packages on CentOS7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a378c9a4cee3f78ad3a85f74d64d03a19b36a6e;p=thirdparty%2Ffreeradius-server.git Use nwkrad json-c packages on CentOS7 --- diff --git a/redhat/freeradius.spec b/redhat/freeradius.spec index 6cf5f3fb517..b2582d49927 100644 --- a/redhat/freeradius.spec +++ b/redhat/freeradius.spec @@ -239,8 +239,13 @@ Provides protocol encoders and decoders for the RADIUS protocol. Summary: Internal support library for FreeRADIUS modules using json-c Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} +%if 0%{?rhel} < 8 +Requires: nwkrad-json-c >= 0.13 +BuildRequires: nwkrad-json-c-devel >= 0.13 +%else Requires: json-c >= 0.13 BuildRequires: json-c-devel >= 0.13 +%endif %description libfreeradius-json Internal support library for FreeRADIUS modules using json-c, required by all modules that use json-c.