Disable PDF regeneration
Because pending issues with PDF regeneration, disable PDF for now. Allow turning it on with --with DOCPDF. It prevents building successfully on Rawhide/f33 for some reason.
This commit is contained in:
parent
bd765f0cce
commit
7be72b675e
16
bind.spec
16
bind.spec
@ -32,6 +32,8 @@
|
|||||||
%bcond_with LMDB
|
%bcond_with LMDB
|
||||||
%bcond_with DOC
|
%bcond_with DOC
|
||||||
%endif
|
%endif
|
||||||
|
# Because of issues with PDF rebuild, include only HTML pages
|
||||||
|
%bcond_with DOCPDF
|
||||||
%bcond_with TSAN
|
%bcond_with TSAN
|
||||||
|
|
||||||
%{?!bind_uid: %global bind_uid 25}
|
%{?!bind_uid: %global bind_uid 25}
|
||||||
@ -193,9 +195,12 @@ BuildRequires: fstrm-devel protobuf-c-devel
|
|||||||
# Needed to regenerate dig.1 manpage
|
# Needed to regenerate dig.1 manpage
|
||||||
%if %{with DOC}
|
%if %{with DOC}
|
||||||
BuildRequires: python3-sphinx python3-sphinx_rtd_theme
|
BuildRequires: python3-sphinx python3-sphinx_rtd_theme
|
||||||
BuildRequires: python3-sphinx-latex latexmk texlive-xetex texlive-xindy
|
|
||||||
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
|
||||||
@ -579,7 +584,7 @@ export LIBDIR_SUFFIX
|
|||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with DOC}
|
%if %{with DOCPDF}
|
||||||
# avoid using home for pdf latex files
|
# avoid using home for pdf latex files
|
||||||
export TEXMFVAR="`pwd`"
|
export TEXMFVAR="`pwd`"
|
||||||
export TEXMFCONFIG="`pwd`"
|
export TEXMFCONFIG="`pwd`"
|
||||||
@ -812,10 +817,13 @@ popd
|
|||||||
|
|
||||||
%if %{with DOC}
|
%if %{with DOC}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/man
|
mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/man
|
||||||
cp -a build/doc/arm/{Bv9ARM.pdf,_build/html} ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
cp -a build/doc/arm/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
||||||
cp -a build/doc/man/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}/html
|
cp -a build/doc/man/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}/html
|
||||||
rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/.{buildinfo,doctrees}
|
rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/.{buildinfo,doctrees}
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with DOCPDF}
|
||||||
|
cp -a build/doc/arm/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
|
||||||
@ -1214,6 +1222,8 @@ fi;
|
|||||||
%files doc
|
%files doc
|
||||||
%dir %{_pkgdocdir}
|
%dir %{_pkgdocdir}
|
||||||
%doc %{_pkgdocdir}/html
|
%doc %{_pkgdocdir}/html
|
||||||
|
%endif
|
||||||
|
%if %{with DOCPDF}
|
||||||
%doc %{_pkgdocdir}/Bv9ARM.pdf
|
%doc %{_pkgdocdir}/Bv9ARM.pdf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user