From 32e3cbb7d889a946ea5c67a031a173d70fe432e1 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 11 Feb 2025 03:20:13 +0300 Subject: [PATCH] import tbb-2020.3-8.el9_5.1 --- SPECS/tbb.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/SPECS/tbb.spec b/SPECS/tbb.spec index 975d402..e9abc28 100644 --- a/SPECS/tbb.spec +++ b/SPECS/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: 8%{?dist}.1 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 '/