Include backward compatible html symlink in doc subpackage

(cherry picked from commit dc4646b7fd6ec1409c06c67043928274a41e26a0)

Related: rhbz#1956777
This commit is contained in:
Petr Menšík 2021-07-23 12:14:17 +02:00
parent 092da5d1c3
commit 37123a3b7a
1 changed files with 7 additions and 1 deletions

View File

@ -51,7 +51,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: MPLv2.0
Version: 9.16.19
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 32
Url: https://www.isc.org/downloads/bind/
#
@ -730,6 +730,8 @@ popd
mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}
cp -a build/doc/arm/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}
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
for DIR in %{python3_sitelib}/sphinx_rtd_theme/static/*
do
@ -1118,6 +1120,7 @@ fi;
%if %{with DOC}
%files doc
%dir %{_pkgdocdir}
%doc %{_pkgdocdir}/Bv9ARM.html
%doc %{_pkgdocdir}/html
%endif
%if %{with DOCPDF}
@ -1125,6 +1128,9 @@ fi;
%endif
%changelog
* Fri Jul 23 2021 Petr Menšík <pemensik@redhat.com> - 32:9.16.19-3
- Include backward compatible html symlink in doc subpackage
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 32:9.16.19-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688