fix: removed the no longer needed dependency logic surrounding

mariadb-devel and mariadb-connector-c-devel as RHEL 7 is a quite old and
therefore mariadb-connector-c-devel is available on all relevant
instances of RHEL so there is no need to have the backup dependency of
mariadb-devel
This commit is contained in:
Pavol Sloboda 2025-04-16 10:08:23 +02:00
commit e428e2bb05

View file

@ -86,11 +86,7 @@ membership, too.
%if %{with mysql}
%package mysql
Summary: MariaDB/MySQL modules for Anope IRC services
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: mariadb-connector-c-devel
%else
BuildRequires: mariadb-devel >= 5.5
%endif
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: %{name}-mariadb = %{version}-%{release}
Provides: %{name}-mariadb%{?_isa} = %{version}-%{release}