%bcond_without epoll # disable epoll support
%endif
-%define ver 9.18.2
+%define ver 9.18.14
%if 0
%define pverdot .P0
%define pverdir -P0
License: MPL 2.0
Group: Networking/Daemons
Source0: ftp://ftp.isc.org/isc/bind9/%{ver}%{pverdir}/%{name}-%{ver}%{pverdir}.tar.xz
-# Source0-md5: e14b700dc7709af6bbc9e6bfdf8cb36b
+# Source0-md5: abcced8ffa94816bd196f7814fceefd1
Source1: named.init
Source2: named.sysconfig
Source3: named.logrotate
Source6: %{name}-hip.tar.gz
# Source6-md5: 62a8a67f51ff8db9fe815205416a1f62
Source7: https://www.internic.net/domain/named.root
-# Source7-md5: fabc15905a0ffdd081ff67213a268289
+# Source7-md5: 996bb0641f6e19f0f6e73a09ed41f605
Source8: %{name}-127.0.0.zone
Source9: %{name}-localhost.zone
Source10: %{name}-named.conf
# note, there is no kyua in PLD yet (work in progress)
%{?with_tests:%{!?with_system_tests:BuildRequires: kyua}}
BuildRequires: libtool
-BuildRequires: libuv-devel >= 1.37.0
+BuildRequires: libuv-devel >= 1.40.0
# any version for hi2dns (if with_hip), 2.6.0 for XML stats
BuildRequires: libxml2-devel >= 1:2.6.0
%{?with_lmdb:BuildRequires: lmdb-devel}
Provides: nameserver
Provides: user(named)
Obsoletes: caching-nameserver
-Conflicts: %{name}-chroot
+Obsoletes: openldap-schema-bind < 7:9.18.0
+Obsoletes: python3-isc < 7:9.18.0
+Conflicts: bind-chroot
Conflicts: logrotate < 3.8.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary(zh_CN.UTF-8): Internet 域名服务器开发库
Group: Libraries
Requires: json-c >= 0.11
-Requires: libuv >= 1.37.0
+Requires: libuv >= 1.40.0
Requires: libxml2 >= 1:2.6.0
%{?with_doh:Requires: nghttp2-libs >= 1.6.0}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/bind/filter-*.la
+
bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
%{__rm} $RPM_BUILD_ROOT%{_mandir}/README.named-non-english-man-pages
%{__mv} $RPM_BUILD_ROOT%{_mandir}/ja/man8/nslookup.8 $RPM_BUILD_ROOT%{_mandir}/ja/man1/nslookup.1