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.
This commit is contained in:
Petr Menšík 2023-11-16 18:14:51 +01:00
parent d435556498
commit 3521aec3b2
1 changed files with 0 additions and 24 deletions

View File

@ -20,12 +20,6 @@
%bcond_without DNSTAP %bcond_without DNSTAP
%bcond_without LMDB %bcond_without LMDB
%bcond_without DOC %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_with TSAN
%bcond_without DTRACE %bcond_without DTRACE
@ -166,10 +160,6 @@ BuildRequires: fstrm-devel protobuf-c-devel
BuildRequires: python3-sphinx python3-sphinx_rtd_theme BuildRequires: python3-sphinx python3-sphinx_rtd_theme
BuildRequires: doxygen BuildRequires: doxygen
%endif %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} %if %{with TSAN}
BuildRequires: libtsan BuildRequires: libtsan
%endif %endif
@ -426,14 +416,6 @@ export LIBDIR_SUFFIX
popd popd
%endif %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='' %make_build SPHINX_W=''
%if %{with DOC} %if %{with DOC}
@ -639,9 +621,6 @@ do
done done
cp -p build/doc/arm/_build/epub/Bv9ARM.epub ${RPM_BUILD_ROOT}%{_pkgdocdir} cp -p build/doc/arm/_build/epub/Bv9ARM.epub ${RPM_BUILD_ROOT}%{_pkgdocdir}
%endif %endif
%if %{with DOCPDF}
cp -p build/doc/arm/_build/latex/Bv9ARM.pdf ${RPM_BUILD_ROOT}%{_pkgdocdir}
%endif
# Ghost config files: # Ghost config files:
touch ${RPM_BUILD_ROOT}%{_localstatedir}/log/named.log touch ${RPM_BUILD_ROOT}%{_localstatedir}/log/named.log
@ -965,9 +944,6 @@ fi;
%doc %{_pkgdocdir}/Bv9ARM.html %doc %{_pkgdocdir}/Bv9ARM.html
%doc %{_pkgdocdir}/Bv9ARM.epub %doc %{_pkgdocdir}/Bv9ARM.epub
%endif %endif
%if %{with DOCPDF}
%doc %{_pkgdocdir}/Bv9ARM.pdf
%endif
%changelog %changelog
%autochangelog %autochangelog