From: Nick Porter Date: Thu, 25 Aug 2022 14:58:06 +0000 (+0100) Subject: On RHEL >= 8 MySQL client libraries are in mysql-libs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7ce021d28bbd25b1154672a06918e7ca61ff551;p=thirdparty%2Ffreeradius-server.git On RHEL >= 8 MySQL client libraries are in mysql-libs --- diff --git a/redhat/freeradius.spec b/redhat/freeradius.spec index 11cf9611b00..d8a53a286b0 100644 --- a/redhat/freeradius.spec +++ b/redhat/freeradius.spec @@ -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