]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
EL8 pkgs: Build mysql backend against mariadb-connector-c-devel 9033/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 16 Apr 2020 10:40:39 +0000 (12:40 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 16 Apr 2020 10:40:39 +0000 (12:40 +0200)
This matches EPEL downstream.

Closes: #9026
builder-support/specs/pdns.spec

index 20a488951f4a486cb05b4f601fef6331fd09a252..38aaff286ae2bc6d0e70ca4734b0ce5f972e55ba 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