]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Use nwkrad json-c packages on CentOS7
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Fri, 25 Jun 2021 01:31:03 +0000 (02:31 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Fri, 25 Jun 2021 01:39:39 +0000 (02:39 +0100)
redhat/freeradius.spec

index 6cf5f3fb517a6378bbab27b64c6b6cd9bd7c80c1..b2582d499277404a3f815dd72c379e0cdf79c53e 100644 (file)
@@ -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.