diff --git a/bind.spec b/bind.spec index cd58c9c..81552cf 100644 --- a/bind.spec +++ b/bind.spec @@ -816,10 +816,10 @@ ln -s named-checkzone.8.gz named-compilezone.8.gz popd %if %{with DOC} -mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/man +mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir} cp -a build/doc/arm/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir} -cp -a build/doc/man/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}/html -rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/.{buildinfo,doctrees} +cp -a build/doc/man/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/man +rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/html{,/man}/.{buildinfo,doctrees} %endif %if %{with DOCPDF} cp -a build/doc/arm/Bv9ARM.pdf ${RPM_BUILD_ROOT}%{_pkgdocdir}