From bcd47603ca33163c7d30c3b6c51d254548afcd4b Mon Sep 17 00:00:00 2001 From: Morten Stevens Date: Sep 21 2017 16:03:07 +0000 Subject: Switch to mariadb-connector-c-devel --- diff --git a/pdns.spec b/pdns.spec index 725059e..e21ce53 100644 --- a/pdns.spec +++ b/pdns.spec @@ -4,7 +4,7 @@ Name: pdns Version: 4.1.0 -Release: 0.1.%{?prever}%{?dist} +Release: 0.2.%{?prever}%{?dist} Summary: A modern, advanced and high performance authoritative-only nameserver Group: System Environment/Daemons License: GPLv2 @@ -27,6 +27,7 @@ BuildRequires: zeromq-devel BuildRequires: openssl-devel BuildRequires: protobuf-devel BuildRequires: protobuf-compiler +BuildRequires: python-virtualenv Provides: powerdns = %{version}-%{release} %global backends %{backends} bind @@ -47,7 +48,7 @@ This package contains the extra tools for %{name} Summary: MySQL backend for %{name} Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} -BuildRequires: mariadb-devel +BuildRequires: mariadb-connector-c-devel openssl-devel %global backends %{backends} gmysql %description backend-mysql @@ -170,10 +171,10 @@ export CPPFLAGS="-DLDAP_DEPRECATED" --enable-unit-tests \ --enable-reproducible -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} +%make_install %{__rm} -f %{buildroot}%{_libdir}/%{name}/*.la %{__mv} %{buildroot}%{_sysconfdir}/%{name}/pdns.conf{-dist,} @@ -318,6 +319,10 @@ exit 0 %{_libdir}/%{name}/libtinydnsbackend.so %changelog +* Thu Sep 21 2017 Morten Stevens - 4.1.0-0.2.rc1 +- Switch to mariadb-connector-c-devel +- Spec file improvements + * Thu Aug 31 2017 Morten Stevens - 4.1.0-0.1.rc1 - Update to 4.1.0-rc1