spec file tunning - not complete yet, work in progress

This commit is contained in:
Martin Stransky 2006-09-15 15:59:29 +00:00
parent a3155ae89b
commit 7f63ac6696

View File

@ -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}/var/named/data
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/{man1,man5,man8} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/{man1,man5,man8}
mkdir -p ${RPM_BUILD_ROOT}/var/run/named mkdir -p ${RPM_BUILD_ROOT}/var/run/named
%if %{WITH_DBUS}
cp contrib/dbus/README.DBUS ${RPM_BUILD_ROOT}
%endif
#chroot #chroot
mkdir -p ${RPM_BUILD_ROOT}/%{chroot_prefix} mkdir -p ${RPM_BUILD_ROOT}/%{chroot_prefix}
tar --no-same-owner -zxvf %{SOURCE6} --directory ${RPM_BUILD_ROOT}/%{chroot_prefix} tar --no-same-owner -zxvf %{SOURCE6} --directory ${RPM_BUILD_ROOT}/%{chroot_prefix}
@ -514,7 +517,7 @@ chmod 0755 ${RPM_BUILD_ROOT}%{_libdir}/lib*so.*
%doc doc/arm doc/misc %doc doc/arm doc/misc
%doc sample/ %doc sample/
%if %{WITH_DBUS} %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 /etc/dbus-1/system.d/named.conf
%attr(644,root,root) %config /usr/share/dbus-1/services/named.service %attr(644,root,root) %config /usr/share/dbus-1/services/named.service
%attr(750,root,root) %{_sbindir}/namedGetForwarders %attr(750,root,root) %{_sbindir}/namedGetForwarders