%bcond_without epoll # disable epoll support
%endif
-%define ver 9.8.1
+%define ver 9.9.1
%if 1
-%define pverdot .P1
-%define pverdir -P1
+%define pverdot .P2
+%define pverdir -P2
%else
%define pverdot %{nil}
%define pverdir %{nil}
Summary(zh_CN.UTF-8): Internet 域名服务器
Name: bind
Version: %{ver}%{pverdot}
-Release: 3
+Release: 1
Epoch: 7
License: BSD-like
Group: Networking/Daemons
Source0: ftp://ftp.isc.org/isc/bind9/%{ver}%{pverdir}/%{name}-%{ver}%{pverdir}.tar.gz
-# Source0-md5: afa41f8203d50bedad65071f9b6f96d7
+# Source0-md5: 5f2f9ec0f1f1c67beaada349cdac0c15
Source1: named.init
Source2: named.sysconfig
Source3: named.logrotate
Source6: %{name}-hip.tar.gz
# Source6-md5: 62a8a67f51ff8db9fe815205416a1f62
Source7: ftp://rs.internic.net/domain/root.zone
-# Source7-md5: 268175178a06a1588134bd8afe4b3685
+# Source7-md5: ba02d2c1d7e274fac153dcc7b3c40c11
Source8: %{name}-127.0.0.zone
Source9: %{name}-localhost.zone
Source10: %{name}-named.conf
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: psmisc >= 20.1
Requires: rc-scripts >= 0.2.0
+Requires: uname(release) >= 2.2.18
Provides: group(named)
Provides: nameserver
Provides: user(named)
Obsoletes: caching-nameserver
Conflicts: %{name}-chroot
-Conflicts: kernel < 2.2.18
-Conflicts: logrotate < 3.8.0
+Conflicts: logrotate < 3.8.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define schemadir /usr/share/openldap/schema
# we don't want Makefiles in documentation...
rm -rf _doc
cp -a doc _doc
-rm -f _doc/rfc/rfc*
rm -f _doc/misc/Makefile*
%clean
%files
%defattr(644,root,root,755)
%doc README EXAMPLE-CONFIG-* FAQ %{?with_hip:bind-hip/COPYRIGHT-HIP-RR}
-%doc _doc/misc/* _doc/arm/*.html _doc/rfc/index %{?with_ldap:_doc/*.sdb-ldap}
+%doc _doc/misc/* _doc/arm/*.html %{?with_ldap:_doc/*.sdb-ldap}
%attr(754,root,root) /etc/rc.d/init.d/named
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/named