From 2f80d25c923b3bce3e87e3488788fe5e3b3aa4e8 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 4 Feb 2025 19:23:41 +0000 Subject: [PATCH] Remove jQuery from Doxygen output (RHEL-77697) Resolves: RHEL-77697 --- tbb.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tbb.spec b/tbb.spec index 975d402..043d8f1 100644 --- a/tbb.spec +++ b/tbb.spec @@ -1,7 +1,7 @@ Name: tbb Summary: The Threading Building Blocks library abstracts low-level threading details Version: 2020.3 -Release: 8%{?dist} +Release: 9%{?dist} License: ASL 2.0 URL: http://threadingbuildingblocks.org/ @@ -61,10 +61,9 @@ Blocks (TBB) C++ libraries. %package doc Summary: The Threading Building Blocks documentation -Provides: bundled(jquery) %description doc -PDF documentation for the user of the Threading Building Block (TBB) +HTML documentation for the user of the Threading Building Block (TBB) C++ library. @@ -91,6 +90,9 @@ sed -i 's,env python,python3,' python/TBB.py python/tbb/__*.py # Remove shebang from files that don't need it sed -i '/^#!/d' python/tbb/{pool,test}.py +# Disable jQuery use +sed -i '/^SEARCHENGINE/s/YES/NO/' Doxyfile + %build compiler="" if [[ %{__cc} == *"gcc"* ]]; then @@ -124,6 +126,9 @@ popd # Build the documentation make doxygen +# We don't want to ship jQuery in the tbb-doc package +rm html/jquery.js +find html -name '*.html' | xargs sed -i '/