Include backward compatible html symlink in doc subpackage
This commit is contained in:
parent
a58a3a3f05
commit
dc4646b7fd
@ -55,7 +55,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
|
|||||||
Name: bind
|
Name: bind
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
Version: 9.16.19
|
Version: 9.16.19
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 32
|
Epoch: 32
|
||||||
Url: https://www.isc.org/downloads/bind/
|
Url: https://www.isc.org/downloads/bind/
|
||||||
#
|
#
|
||||||
@ -734,6 +734,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
|
||||||
@ -1122,6 +1124,7 @@ fi;
|
|||||||
%if %{with DOC}
|
%if %{with DOC}
|
||||||
%files doc
|
%files doc
|
||||||
%dir %{_pkgdocdir}
|
%dir %{_pkgdocdir}
|
||||||
|
%doc %{_pkgdocdir}/Bv9ARM.html
|
||||||
%doc %{_pkgdocdir}/html
|
%doc %{_pkgdocdir}/html
|
||||||
%endif
|
%endif
|
||||||
%if %{with DOCPDF}
|
%if %{with DOCPDF}
|
||||||
@ -1129,6 +1132,9 @@ fi;
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 23 2021 Petr Menšík <pemensik@redhat.com> - 32:9.16.19-2
|
||||||
|
- Include backward compatible html symlink in doc subpackage
|
||||||
|
|
||||||
* Wed Jul 21 2021 Petr Menšík <pemensik@redhat.com> - 32:9.16.19-1
|
* Wed Jul 21 2021 Petr Menšík <pemensik@redhat.com> - 32:9.16.19-1
|
||||||
- Update to 9.16.19 (#1984627)
|
- Update to 9.16.19 (#1984627)
|
||||||
- Disable PDF rebuild on Rawhide (#1984687)
|
- Disable PDF rebuild on Rawhide (#1984687)
|
||||||
|
Loading…
Reference in New Issue
Block a user