From 3521aec3b22d7188e7471a209f86dfe2b0190cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Thu, 16 Nov 2023 18:14:51 +0100 Subject: [PATCH] Fully remove PDF building support Upstream has discontinued and remove support for local PDF building in commit 561a83a29182b00bda9237ae30343d76a68dcdf4. Just remove remaining bits, it is not likely to return. --- bind9-next.spec | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/bind9-next.spec b/bind9-next.spec index feb58fd..1c3d8ec 100644 --- a/bind9-next.spec +++ b/bind9-next.spec @@ -20,12 +20,6 @@ %bcond_without DNSTAP %bcond_without LMDB %bcond_without DOC -# Because of issues with PDF rebuild, include only HTML pages -# Current error: unable top find isc-logo.pdf -%if 0%{?fedora} -# RHEL and ELN do not have all required packages -%bcond_with DOCPDF -%endif %bcond_with TSAN %bcond_without DTRACE @@ -166,10 +160,6 @@ BuildRequires: fstrm-devel protobuf-c-devel BuildRequires: python3-sphinx python3-sphinx_rtd_theme BuildRequires: doxygen %endif -%if %{with DOCPDF} -# Because remaining issues with COPR, allow turning off PDF (re)generation -BuildRequires: python3-sphinx-latex latexmk texlive-xetex texlive-xindy -%endif %if %{with TSAN} BuildRequires: libtsan %endif @@ -426,14 +416,6 @@ export LIBDIR_SUFFIX popd %endif -%if %{with DOCPDF} -# avoid using home for pdf latex files -export TEXMFVAR="`pwd`" -export TEXMFCONFIG="`pwd`" -fmtutil-user --listcfg || : -fmtutil-user --missing || : -%endif - %make_build SPHINX_W='' %if %{with DOC} @@ -639,9 +621,6 @@ do done cp -p build/doc/arm/_build/epub/Bv9ARM.epub ${RPM_BUILD_ROOT}%{_pkgdocdir} %endif -%if %{with DOCPDF} -cp -p build/doc/arm/_build/latex/Bv9ARM.pdf ${RPM_BUILD_ROOT}%{_pkgdocdir} -%endif # Ghost config files: touch ${RPM_BUILD_ROOT}%{_localstatedir}/log/named.log @@ -965,9 +944,6 @@ fi; %doc %{_pkgdocdir}/Bv9ARM.html %doc %{_pkgdocdir}/Bv9ARM.epub %endif -%if %{with DOCPDF} -%doc %{_pkgdocdir}/Bv9ARM.pdf -%endif %changelog %autochangelog