From: Pieter Lexis Date: Thu, 16 Apr 2020 10:40:39 +0000 (+0200) Subject: EL8 pkgs: Build mysql backend against mariadb-connector-c-devel X-Git-Tag: rec-4.4.0-alpha1~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9033%2Fhead;p=thirdparty%2Fpdns.git EL8 pkgs: Build mysql backend against mariadb-connector-c-devel This matches EPEL downstream. Closes: #9026 --- diff --git a/builder-support/specs/pdns.spec b/builder-support/specs/pdns.spec index 20a488951f..38aaff286a 100644 --- a/builder-support/specs/pdns.spec +++ b/builder-support/specs/pdns.spec @@ -69,7 +69,11 @@ This package contains the extra tools for %{name} Summary: MySQL backend for %{name} Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} +%if 0%{?rhel} < 8 BuildRequires: mysql-devel +%else +BuildRequires: mariadb-connector-c-devel +%endif %global backends %{backends} gmysql %description backend-mysql