]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
On RHEL >= 8 MySQL client libraries are in mysql-libs
authorNick Porter <nick@portercomputing.co.uk>
Thu, 25 Aug 2022 14:58:06 +0000 (15:58 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 25 Aug 2022 16:09:19 +0000 (17:09 +0100)
redhat/freeradius.spec

index 11cf9611b0063a1c22ba16d2fbef08fc52bde2db..d8a53a286b0219070ab64f5feb92731998bfa231 100644 (file)
@@ -352,7 +352,12 @@ This plugin provides Python support for the FreeRADIUS server project.
 Summary: MySQL support for FreeRADIUS
 Group: System Environment/Daemons
 Requires: %{name}%{?_isa} = %{version}-%{release}
+%if 0%{?rhel} <= 7
 Requires: mysql
+%endif
+%if 0%{?rhel} >= 8
+Requires: mysql-libs
+%endif
 BuildRequires: mysql-devel
 
 %description mysql