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: auth-4.3.1~4^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9036%2Fhead;p=thirdparty%2Fpdns.git EL8 pkgs: Build mysql backend against mariadb-connector-c-devel This matches EPEL downstream. Closes: #9026 (cherry picked from commit fd0a94e9816a17f9046e71609db53878343c3cb3) --- 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