diff --git a/bind.spec b/bind.spec index 5b8bc1d..ab9cb1b 100644 --- a/bind.spec +++ b/bind.spec @@ -618,6 +618,7 @@ mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig install -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/named install -m 644 %{SOURCE49} ${RPM_BUILD_ROOT}%{_sysconfdir}/named-chroot.files +%if "%{_bindir}" != "%{_sbindir}" pushd ${RPM_BUILD_ROOT}%{_sbindir} # Compatibility with previous major versions, only for selected binaries for BIN in named-checkconf named-checkzone named-compilezone @@ -625,6 +626,7 @@ do ln -s ../bin/$BIN $BIN done popd +%endif # Remove libtool .la files: find ${RPM_BUILD_ROOT}/%{_libdir} -name '*.la' -exec '/bin/rm' '-f' '{}' ';';