]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
EL8 pkgs: Build mysql backend against mariadb-connector-c-devel 9036/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 16 Apr 2020 10:40:39 +0000 (12:40 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 17 Apr 2020 08:25:36 +0000 (10:25 +0200)
This matches EPEL downstream.

Closes: #9026
(cherry picked from commit fd0a94e9816a17f9046e71609db53878343c3cb3)

builder-support/specs/pdns.spec

index 8a2a2cb19af193fe357d57176ff8a14c365a84e1..26e3fad2e5963acda293f6bdda6957e39932a088 100644 (file)
@@ -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