1
0
forked from rpms/bind

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

View File

@ -51,7 +51,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: 2%{?dist} Release: 3%{?dist}
Epoch: 32 Epoch: 32
Url: https://www.isc.org/downloads/bind/ Url: https://www.isc.org/downloads/bind/
# #
@ -730,6 +730,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
@ -1118,6 +1120,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}
@ -1125,6 +1128,9 @@ fi;
%endif %endif
%changelog %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 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 32:9.16.19-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688 Related: rhbz#1991688