Remove jQuery from Doxygen files (RHEL-77669)

Resolves: RHEL-77669
This commit is contained in:
Jonathan Wakely 2025-02-04 17:16:14 +00:00
parent a098a2117f
commit a2bedaac32

View File

@ -4,7 +4,7 @@
Name: tbb
Summary: The Threading Building Blocks library abstracts low-level threading details
Version: %{upver}%{?uprel:.%{uprel}}
Release: 10%{?dist}
Release: 10%{?dist}.1
License: ASL 2.0
Group: Development/Tools
URL: http://threadingbuildingblocks.org/
@ -82,10 +82,9 @@ Blocks (TBB) C++ libraries.
%package doc
Summary: The Threading Building Blocks documentation
Group: 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.
%if %{with python2}
@ -156,6 +155,10 @@ sed -i 's,PY_SETUP=python3,PY_SETUP=%{__python3},g' python3/Makefile
sed -i 's,python3 -m tbb test,%{__python3} -m tbb test,g' python3/Makefile
%endif
# Remove jQuery
rm doc/html/jquery.js
find doc/html -name '*.html' | xargs sed -i '/<script type="text.javascript" src="jquery.js"><.script>/d'
%build
%ifarch %{ix86}
# Build an SSE2-enabled version so the mfence instruction can be used
@ -312,6 +315,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/cmake/%{name}/README.rst
%endif
%changelog
* Tue Feb 04 2025 Jonathan Wakely <jwakely@redhat.com> - 2018.2-10.1
- Remove jQuery from Doxygen files (RHEL-77669)
* Wed Feb 03 2021 Thomas Rodgers <trodgers@redhat.com> - 2018.2-10
- Apply patches from (BZ #1907561)
- Bump release