From 972567209b12459da3864514cbbed8e5db8fc6ae Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Thu, 16 Apr 2020 12:40:39 +0200 Subject: [PATCH] EL8 pkgs: Build mysql backend against mariadb-connector-c-devel This matches EPEL downstream. Closes: #9026 (cherry picked from commit fd0a94e9816a17f9046e71609db53878343c3cb3) --- builder-support/specs/pdns.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builder-support/specs/pdns.spec b/builder-support/specs/pdns.spec index 8a2a2cb19a..26e3fad2e5 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 -- 2.47.2