summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2008-06-26 15:54:17 +0000
committerAdam Tkac <atkac@fedoraproject.org>2008-06-26 15:54:17 +0000
commit31ee0f193c129cdd1ca9fe2d789628ea80ff9066 (patch)
treecb32fe308650a297fb0a4bbb17bce878fdf5e745
parent99fc20a35ada37b3d2797029ed7eef7410693f00 (diff)
downloadbind-31ee0f193c129cdd1ca9fe2d789628ea80ff9066.tar.gz
bind-31ee0f193c129cdd1ca9fe2d789628ea80ff9066.tar.xz
bind-31ee0f193c129cdd1ca9fe2d789628ea80ff9066.zip
- some compat changes to fix building on RHEL4bind-9_5_0-37_fc10
-rw-r--r--bind.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/bind.spec b/bind.spec
index 9257b1f..80e155a 100644
--- a/bind.spec
+++ b/bind.spec
@@ -16,7 +16,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: 9.5.0
-Release: 36.3%{?dist}
+Release: 37%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -80,9 +80,9 @@ Patch85: bind-9.5-libidn3.patch
#
Requires: mktemp
-Requires(post): grep, chkconfig >= 1.3.26
+Requires(post): grep, chkconfig
Requires(pre): shadow-utils
-Requires(preun):chkconfig >= 1.3.26
+Requires(preun):chkconfig
Obsoletes: bind-config < 30:9.3.2-34.fc6, caching-nameserver < 31:9.4.1-7.fc8
Provides: bind-config = 30:9.3.2-34.fc6, caching-nameserver = 31:9.4.1-7.fc8
BuildRequires: openssl-devel, libtool, autoconf, pkgconfig, libcap-devel
@@ -390,7 +390,7 @@ touch ${RPM_BUILD_ROOT}%{_sysconfdir}/named.conf
touch ${RPM_BUILD_ROOT}%{_localstatedir}/log/named.log
# configuration files:
-tar -C ${RPM_BUILD_ROOT} -xf %{SOURCE28}
+tar -C ${RPM_BUILD_ROOT} -xjf %{SOURCE28}
for f in /etc/named.conf /var/named/{named.ca,named.localhost,named.loopback,named.empty}; do
touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/$f;
done
@@ -636,6 +636,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sbindir}/bind-chroot-admin
%changelog
+* Thu Jun 26 2008 Adam Tkac <atkac redhat com> 32:9.5.0-37
+- some compat changes to fix building on RHEL4
+
* Mon Jun 23 2008 Adam Tkac <atkac redhat com> 32:9.5.0-36.3
- fixed typo in %%posttrans script