From d79ec6b99ff9efe8f38ba00ab98c71945cf3da4f Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: May 26 2008 15:59:30 +0000 Subject: - make /var/run/named writable by named (#448277) - fixed one non-utf8 file --- diff --git a/bind.spec b/bind.spec index 0e7da86..7fafa95 100644 --- a/bind.spec +++ b/bind.spec @@ -18,7 +18,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: ISC Version: 9.5.0 -Release: 34.%{RELEASEVER}%{dist} +Release: 35.%{RELEASEVER}%{dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -249,6 +249,10 @@ export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -O0" export CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" export STD_CDEFINES="$CPPFLAGS" +sed -i -e \ +'s/RELEASEVER=\(.*\)/RELEASEVER=\1-RedHat-%{version}-%{release}/' \ +version + libtoolize -c -f; aclocal --force; autoheader -f; autoconf -f %if %{WITH_DBUS} @@ -315,8 +319,10 @@ else %install rm -rf ${RPM_BUILD_ROOT} -# We don't want this one +# We don't want these rm -f doc/rfc/fetch +rm doc/draft/draft-ietf-enum-e164-gstn-np-05.txt + cp --preserve=timestamps %{SOURCE5} doc/rfc gzip -9 doc/rfc/* @@ -406,7 +412,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.264 2008/05/22 13:19:09 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.265 2008/05/26 15:59:30 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: @@ -524,7 +530,7 @@ rm -rf ${RPM_BUILD_ROOT} # ^- The default rndc.conf which uses rndc.key is in named's default internal config - # so rndc.conf is not necessary. %config(noreplace) %{_sysconfdir}/logrotate.d/named -%defattr(-,root,named,-) +%defattr(-,named,named,-) %dir %{_localstatedir}/run/named %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/sysconfig/named @@ -646,6 +652,10 @@ rm -rf ${RPM_BUILD_ROOT} %{_sbindir}/bind-chroot-admin %changelog +* Mon May 26 2008 Adam Tkac 32:9.5.0-35.rc1 +- make /var/run/named writable by named (#448277) +- fixed one non-utf8 file + * Wed May 22 2008 Adam Tkac 32:9.5.0-34.rc1 - fixes needed to pass package review (#225614)