Drop Doxygen-generated HTML documentation.

See https://bugzilla.redhat.com/show_bug.cgi?id=2006555 for discussion.
This commit is contained in:
Benjamin A. Beasley 2021-09-29 11:06:37 -04:00
parent 1c651cca86
commit 6bf6b83134

View File

@ -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 <code@musicinmybrain.net> - 1.11.0-22
- Drop Doxygen-generated HTML documentation
* Thu Dec 10 2020 Benjamin A. Beasley <code@musicinmybrain.net> - 1.11.0-21
- Fixes for API documentation build
- Ensure we compile with additional hardening flags even on EPEL