diff --git a/bind.spec b/bind.spec index 9a06e07..cec9cf2 100644 --- a/bind.spec +++ b/bind.spec @@ -353,6 +353,9 @@ mkdir -p ${RPM_BUILD_ROOT}/var/named/slaves mkdir -p ${RPM_BUILD_ROOT}/var/named/data mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/{man1,man5,man8} mkdir -p ${RPM_BUILD_ROOT}/var/run/named +%if %{WITH_DBUS} +cp contrib/dbus/README.DBUS ${RPM_BUILD_ROOT} +%endif #chroot mkdir -p ${RPM_BUILD_ROOT}/%{chroot_prefix} tar --no-same-owner -zxvf %{SOURCE6} --directory ${RPM_BUILD_ROOT}/%{chroot_prefix} @@ -454,7 +457,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.128 2006/09/15 14:44:12 stransky 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.129 2006/09/15 15:59:29 stransky 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: @@ -514,7 +517,7 @@ chmod 0755 ${RPM_BUILD_ROOT}%{_libdir}/lib*so.* %doc doc/arm doc/misc %doc sample/ %if %{WITH_DBUS} -%doc doc/README.DBUS +%doc README.DBUS %attr(644,root,root) %config /etc/dbus-1/system.d/named.conf %attr(644,root,root) %config /usr/share/dbus-1/services/named.service %attr(750,root,root) %{_sbindir}/namedGetForwarders