From bc59c3392f20dcf0f597d009604ffef2381b9419 Mon Sep 17 00:00:00 2001 From: jvdias Date: Thu, 30 Mar 2006 00:52:34 +0000 Subject: fix bug 186577 - libbind.pc, more .spec file cleanup; add sample configuration files to %doc; rebuild for new gcc and glibc --- bind.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'bind.spec') diff --git a/bind.spec b/bind.spec index 14496e2..dc9fc25 100644 --- a/bind.spec +++ b/bind.spec @@ -52,6 +52,9 @@ Source25: rfc1912.txt Source26: bind-chroot-admin.in Source27: named.rfc1912.zones Source28: libbind.pc +Source29: named.conf.sample +Source30: named.rfc1912.zones.sample +Source31: named.root.hints # Patch: bind-9.2.0rc3-varrun.patch Patch1: bind-9.3.2b2-rndckey.patch @@ -464,15 +467,15 @@ sed -e 's^@BIND_CHROOT_PREFIX@^'%{chroot_prefix}'^;s^@BIND_DIR@^'%{bind_dir}'^' install -m 754 bind-chroot-admin ${RPM_BUILD_ROOT}/%{_sbindir} # sample bind configuration files for %doc: mkdir -p sample/etc sample/var/named/{data,slaves} -cp -fp %{_sourcedir}/named.conf.sample sample/etc/named.conf -cp -fp %{_sourcedir}/named.rfc1912.zones.sample sample/etc/named.rfc1912.zones -cp -fp %{_sourcedir}/named.root.hints sample/etc/ -cp -fp %{_sourcedir}/{named.root,named.local,localhost.zone,localdomain.zone,named.ip6.local,named.broadcast,named.zero} sample/var/named +cp -fp %{SOURCE29} sample/etc/named.conf +cp -fp %{SOURCE30} sample/etc/named.rfc1912.zones +cp -fp %{SOURCE31} sample/etc/ +cp -fp %{SOURCE17} %{SOURCE18} %{SOURCE19} %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} sample/var/named for f in my.internal.zone.db slaves/my.slave.internal.zone.db slaves/my.ddns.internal.zone.db my.external.zone.db; do 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.99 2006/03/30 00:35:52 jvdias 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.100 2006/03/30 00:52:34 jvdias 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: -- cgit