[pdns/epel7] Update 3.4.1
Morten Stevens
mstevens at fedoraproject.org
Mon Nov 3 17:40:42 UTC 2014
commit aafe992429c35be868d7828c0026c0d45779f960
Author: Morten Stevens <mstevens at imt-systems.com>
Date: Mon Nov 3 18:40:51 2014 +0100
Update 3.4.1
.gitignore | 1 +
pdns.spec | 19 +++++++++++++++----
sources | 2 +-
3 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index eb8f6c1..022b336 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ pdns-2.9.22.tar.gz
/pdns-3.4.0-rc1.tar.bz2
/pdns-3.4.0-rc2.tar.bz2
/pdns-3.4.0.tar.bz2
+/pdns-3.4.1.tar.bz2
diff --git a/pdns.spec b/pdns.spec
index bd973b6..419d4c5 100644
--- a/pdns.spec
+++ b/pdns.spec
@@ -2,7 +2,7 @@
%global backends %{nil}
Name: pdns
-Version: 3.4.0
+Version: 3.4.1
Release: 1%{?dist}
Summary: A modern, advanced and high performance authoritative-only nameserver
Group: System Environment/Daemons
@@ -73,7 +73,6 @@ This package contains the pipe backend for %{name}
Summary: Remote backend for %{name}
Group: System Environment/Daemons
Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: libcurl-devel
%global backends %{backends} remote
%description backend-remote
@@ -125,17 +124,20 @@ This package contains the SQLite backend for %{name}
%patch1 -p1 -b .systemd-patch
%build
-export CPPFLAGS="-DLDAP_DEPRECATED"
+export CPPFLAGS="-DLDAP_DEPRECATED -DPACKAGEVERSION='\"%{version}-%{release}.fedora\"'"
%configure \
--sysconfdir=%{_sysconfdir}/%{name} \
--disable-static \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
--with-modules='' \
--with-system-polarssl \
--with-lua \
--with-dynmodules='%{backends}' \
--enable-cryptopp \
- --enable-tools
+ --enable-tools \
+ --enable-unit-tests
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -155,6 +157,9 @@ chmod 600 %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
# install systemd unit file
%{__install} -D -p -m 644 contrib/systemd-pdns.service %{buildroot}%{_unitdir}/%{name}.service
+%check
+make -C pdns check
+
%pre
getent group pdns >/dev/null || groupadd -r pdns
getent passwd pdns >/dev/null || \
@@ -252,6 +257,12 @@ exit 0
%{_libdir}/%{name}/libgsqlite3backend.so
%changelog
+* Mon Nov 03 2014 Morten Stevens <mstevens at imt-systems.com> - 3.4.1-1
+- Update to 3.4.1
+- Enable security status polling
+- Remove unused build dependency
+- Run the unit tests during check
+
* Tue Sep 30 2014 Morten Stevens <mstevens at imt-systems.com> - 3.4.0-1
- Update to 3.4.0
diff --git a/sources b/sources
index 7aeb8dd..67a9e8e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d60cd0789cfcb20e7277fccb89840ac7 pdns-3.4.0.tar.bz2
+3259505caeaae2a5e9baf3255be437ff pdns-3.4.1.tar.bz2
More information about the scm-commits
mailing list