Return doc symlink to main page
Bind 9.11 guide had different HTML manual, include backward compatible link to the new place.
This commit is contained in:
parent
66ddbbdf47
commit
b33592e3c6
@ -590,6 +590,8 @@ popd
|
|||||||
mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
||||||
cp -a build/doc/arm/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
cp -a build/doc/arm/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
||||||
rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/.{buildinfo,doctrees}
|
rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/.{buildinfo,doctrees}
|
||||||
|
# Backward compatible link to 9.11 documentation
|
||||||
|
(cd ${RPM_BUILD_ROOT}%{_pkgdocdir} && ln -s html/index.html Bv9ARM.html)
|
||||||
# Share static data from original sphinx package
|
# Share static data from original sphinx package
|
||||||
for DIR in %{python3_sitelib}/sphinx_rtd_theme/static/*
|
for DIR in %{python3_sitelib}/sphinx_rtd_theme/static/*
|
||||||
do
|
do
|
||||||
@ -927,6 +929,7 @@ fi;
|
|||||||
%files doc
|
%files doc
|
||||||
%dir %{_pkgdocdir}
|
%dir %{_pkgdocdir}
|
||||||
%doc %{_pkgdocdir}/html
|
%doc %{_pkgdocdir}/html
|
||||||
|
%doc %{_pkgdocdir}/Bv9ARM.html
|
||||||
%endif
|
%endif
|
||||||
%if %{with DOCPDF}
|
%if %{with DOCPDF}
|
||||||
%doc %{_pkgdocdir}/Bv9ARM.pdf
|
%doc %{_pkgdocdir}/Bv9ARM.pdf
|
||||||
@ -935,6 +938,7 @@ fi;
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed Aug 03 2022 Petr Menšík <pemensik@redhat.com> - 32:9.18.5-1
|
* Wed Aug 03 2022 Petr Menšík <pemensik@redhat.com> - 32:9.18.5-1
|
||||||
- Update to 9.18.5 (#2109170)
|
- Update to 9.18.5 (#2109170)
|
||||||
|
- Return doc symlink to main page
|
||||||
|
|
||||||
* Wed Jul 20 2022 Petr Menšík <pemensik@redhat.com> - 32:9.18.4-2
|
* Wed Jul 20 2022 Petr Menšík <pemensik@redhat.com> - 32:9.18.4-2
|
||||||
- Stop enabling selinux booleans on every upgrade
|
- Stop enabling selinux booleans on every upgrade
|
||||||
|
Loading…
Reference in New Issue
Block a user