summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjvdias <jvdias@fedoraproject.org>2005-11-13 20:21:53 +0000
committerjvdias <jvdias@fedoraproject.org>2005-11-13 20:21:53 +0000
commita94a77a8bc2ec9b7c582714f051368c1563ed61a (patch)
tree7a2f8d617ec511a68275b59249c3ced36d77dede
parent66f2cc4936f3dd4c5a705894ffcbbc3279ad78a1 (diff)
downloadbind-a94a77a8bc2ec9b7c582714f051368c1563ed61a.tar.gz
bind-a94a77a8bc2ec9b7c582714f051368c1563ed61a.tar.xz
bind-a94a77a8bc2ec9b7c582714f051368c1563ed61a.zip
fix bug 172632; ship named*Forwarders scripts; fix named.init -D detectionbind-9_3_1-22
-rw-r--r--bind.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/bind.spec b/bind.spec
index 8e38288..0f7d68e 100644
--- a/bind.spec
+++ b/bind.spec
@@ -30,6 +30,8 @@ Source9: libbind-man.tar.gz
Source10: named-dbus.conf
Source11: named.service
Source12: README.sdb_pgsql
+Source13: namedSetForwarders
+Source14: namedSetForwarders
# http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt
Patch: bind-9.2.0rc3-varrun.patch
Patch1: bind-9.2.1-key.patch
@@ -319,6 +321,8 @@ mkdir -p $RPM_BUILD_ROOT/etc/dbus-1/system.d
mkdir -p $RPM_BUILD_ROOT/usr/share/dbus-1/services
cp -fp %{SOURCE10} $RPM_BUILD_ROOT/etc/dbus-1/system.d/named.conf
cp -fp %{SOURCE11} $RPM_BUILD_ROOT/usr/share/dbus-1/services/named.service
+cp -fp %{SOURCE13} $RPM_BUILD_ROOT/usr/sbin/namedSetForwarders
+cp -fp %{SOURCE14} $RPM_BUILD_ROOT/usr/sbin/namedGetForwarders
%endif
%if %{test}
if [ "`whoami`" = 'root' ]; then
@@ -348,6 +352,8 @@ cp -fp config.h $RPM_BUILD_ROOT/%{_includedir}/bind9
cp -fp lib/dns/include/dns/forward.h $RPM_BUILD_ROOT/%{_includedir}/dns
cp -fp lib/isc/unix/include/isc/keyboard.h $RPM_BUILD_ROOT/%{_includedir}/isc
cp -fp lib/isc/include/isc/hash.h $RPM_BUILD_ROOT/%{_includedir}/isc
+# Remove libtool .la files:
+find $RPM_BUILD_ROOT/%{_libdir} -name '*.la' -exec '/bin/rm' '-f' '{}' ';';
# exit 0;
# uncomment to prevent stripping / debuginfo
:;
@@ -461,6 +467,8 @@ rm -rf ${RPM_BUILD_ROOT}
%doc 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(754,root,root) /usr/sbin/namedGetForwarders
+%attr(754,root,root) /usr/sbin/namedSetForwarders
%endif
%config(noreplace) /etc/logrotate.d/named
%attr(754,root,root) %config /etc/rc.d/init.d/named
@@ -494,7 +502,6 @@ rm -rf ${RPM_BUILD_ROOT}
%files libs
%defattr(-,root,root)
%{_libdir}/*so*
-%{_libdir}/*.la
%files utils
%defattr(-,root,root)