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:
parent
d435556498
commit
3521aec3b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue