From 6bf6b8313400d414006f7389993e770d03d45c8f Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 29 Sep 2021 11:06:37 -0400 Subject: [PATCH] Drop Doxygen-generated HTML documentation. See https://bugzilla.redhat.com/show_bug.cgi?id=2006555 for discussion. --- xalan-c.spec | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/xalan-c.spec b/xalan-c.spec index 73af97c..1ae6d3f 100644 --- a/xalan-c.spec +++ b/xalan-c.spec @@ -1,6 +1,6 @@ Name: xalan-c Version: 1.11.0 -Release: 21%{?dist} +Release: 22%{?dist} Summary: Xalan XSLT processor for C/C++ License: ASL 2.0 @@ -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,10 +112,12 @@ env LD_LIBRARY_PATH=$PWD/lib ./bin/testXPath %doc README %doc readme.html %doc samples -%doc build/docs/html %changelog +* Wed Sep 29 2021 Benjamin A. Beasley - 1.11.0-22 +- Drop Doxygen-generated HTML documentation + * Thu Dec 10 2020 Benjamin A. Beasley - 1.11.0-21 - Fixes for API documentation build - Ensure we compile with additional hardening flags even on EPEL