summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2007-02-01 14:06:19 +0000
committerAdam Tkac <atkac@fedoraproject.org>2007-02-01 14:06:19 +0000
commiteafa7dc37de125f75d874282fc30ce628b938f3f (patch)
treeb68b798731f9e3d0d6a190881744fd63590f05d1
parent599083f1958533a4cc987d4c2739c38802d3df8e (diff)
downloadbind-eafa7dc37de125f75d874282fc30ce628b938f3f.tar.gz
bind-eafa7dc37de125f75d874282fc30ce628b938f3f.tar.xz
bind-eafa7dc37de125f75d874282fc30ce628b938f3f.zip
minor errors in specfile have been fixed
-rw-r--r--bind.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/bind.spec b/bind.spec
index 5f7b366..a16064d 100644
--- a/bind.spec
+++ b/bind.spec
@@ -17,7 +17,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: BSD-like
Version: 9.3.4
-Release: 2%{?prever}%{?dist}
+Release: 3%{?dist}
Epoch: 31
Url: http://www.isc.org/products/BIND/
Buildroot: %{_tmppath}/%{name}-root
@@ -434,7 +434,7 @@ for f in my.internal.zone.db slaves/my.slave.internal.zone.db slaves/my.ddns.int
echo '@ in soa localhost. root 1 3H 15M 1W 1D
ns localhost.' > sample/var/named/$f;
done
-/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.157 2007/01/29 13:36:51 atkac Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\
+/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.158 2007/02/01 14:06:19 atkac Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\
*\
* NOTE: you only need to create this file if it is to\
* differ from the following default contents:
@@ -528,7 +528,9 @@ chmod 0755 ${RPM_BUILD_ROOT}%{_libdir}/lib*so.*
%{_libdir}/liblwres.a
%{_libdir}/*so
%{_includedir}/bind9
+%if %{LIBBIND}
%{_includedir}/bind
+%endif
%{_includedir}/dns
%{_includedir}/dst
%{_includedir}/isc
@@ -632,7 +634,9 @@ if [ "$1" -eq 1 ]; then
# fix potential problem with older versions
/bin/sed -i -e 's^@KEY@^'`/usr/sbin/dns-keygen`'^' /etc/rndc.key ;
fi
+%if %{selinux}
[ -e /selinux/enforce ] && [ -x /sbin/restorecon ] && /sbin/restorecon /etc/rndc.* /etc/named.* >/dev/null 2>&1 ;
+%endif
fi
:;
@@ -743,6 +747,11 @@ rm -rf ${RPM_BUILD_ROOT}
:;
%changelog
+* Thu Feb 01 2007 Adam Tkac <atkac@redhat.com> 31:9.3.4-3.fc7
+- fixed building without libbind
+- fixed post section (selinux commands is now in if-endif statement)
+- prever macro has been removed from version
+
* Mon Jan 29 2007 Adam Tkac <atkac@redhat.com> 31:9.3.4-2.fc7
- redirected output from bind-chroot prep and preun stages to /dev/null