]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Use MariaDB client library on RHEL 10
authorNick Porter <nick@portercomputing.co.uk>
Tue, 17 Jun 2025 14:05:20 +0000 (15:05 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 28 Jul 2025 11:26:07 +0000 (12:26 +0100)
redhat/freeradius.spec

index a849a410934e89e5ef8ca22baa10dc3d7af12dea..de5273f6e9821ae7f91fcaa62f66e691cef9eb00 100644 (file)
@@ -235,10 +235,17 @@ Requires: %{name} = %{version}-%{release}
 %if 0%{?rhel} <= 7
 Requires: mysql
 %endif
-%if 0%{?rhel} >= 8
+%if 0%{?rhel} >= 8 && 0%{?rhel} <= 9
 Requires: mysql-libs
 %endif
+%if 0%{rhel} >= 10
+Requires: mariadb-connector-c
+%endif
+%if 0%{rhel} >= 10
+BuildRequires: mariadb-connector-c-devel
+%else
 BuildRequires: mysql-devel
+%endif
 
 %description mysql
 This plugin provides MySQL support for the FreeRADIUS server project.