diff --git a/xalan-c.spec b/xalan-c.spec index 09a1c67..259c518 100644 --- a/xalan-c.spec +++ b/xalan-c.spec @@ -39,12 +39,18 @@ applications that use %{name}. %package doc Summary: Documentation for %{name} -BuildRequires: doxygen -# Explicit BR required for EPEL8: -BuildRequires: graphviz + +# Doxygen HTML help is not suitable for packaging due to a minified JavaScript +# bundle inserted by Doxygen itself. See discussion at +# https://bugzilla.redhat.com/show_bug.cgi?id=2006555. +# +# Normally, we would enable the Doxygen PDF documentation as a lesser +# substitute, but building it fails with: +# ! TeX capacity exceeded, sorry [pool size=5905151]. %description doc -Documentation for %{name}. +Documentation for xalan-c. See https://apache.github.io/xalan-c/ for full HTML +documentation. %prep @@ -67,12 +73,6 @@ COMMONARGS="-plinux -cgcc -xg++ -minmem" # Parallel build does not work %global _smp_mflags %{nil} %make_build all tests -pushd xdocs -env LD_LIBRARY_PATH="${XALANCROOT}/lib" \ - PATH="${PATH}:${XALANCROOT}/bin" \ - ./make-apiDocs.sh -popd -mv -v build/docs/xalan-c build/docs/html %install @@ -112,7 +112,6 @@ env LD_LIBRARY_PATH=$PWD/lib ./bin/testXPath %doc README %doc readme.html %doc samples -%doc build/docs/html %changelog