From 37123a3b7a85097f6d64725d78269512fbe70c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Fri, 23 Jul 2021 12:14:17 +0200 Subject: [PATCH] Include backward compatible html symlink in doc subpackage (cherry picked from commit dc4646b7fd6ec1409c06c67043928274a41e26a0) Related: rhbz#1956777 --- bind.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bind.spec b/bind.spec index fb9ef13..409eb60 100644 --- a/bind.spec +++ b/bind.spec @@ -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 - 32:9.16.19-3 +- Include backward compatible html symlink in doc subpackage + * Mon Aug 09 2021 Mohan Boddu - 32:9.16.19-2 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688