diff --git a/_service b/_service
new file mode 100644
index 0000000..6df2763
--- /dev/null
+++ b/_service
@@ -0,0 +1,3 @@
+
+
+
diff --git a/tbb-2021.12.0.tar.gz b/tbb-2021.12.0.tar.gz
deleted file mode 100644
index a907ee3..0000000
--- a/tbb-2021.12.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c7bb7aa69c254d91b8f0041a71c5bcc3936acb64408a1719aec0b2b7639dd84f
-size 2617255
diff --git a/tbb-2022.0.0.tar.gz b/tbb-2022.0.0.tar.gz
new file mode 100644
index 0000000..053d94a
--- /dev/null
+++ b/tbb-2022.0.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e8e89c9c345415b17b30a2db3095ba9d47647611662073f7fbf54ad48b7f3c2a
+size 2654343
diff --git a/tbb.changes b/tbb.changes
index 6bd7156..75c43c9 100644
--- a/tbb.changes
+++ b/tbb.changes
@@ -1,3 +1,24 @@
+-------------------------------------------------------------------
+Tue Dec 31 13:57:21 UTC 2024 - Eyad Issa
+
+- Remove use-FORTIFY_SOURCE-from-distribution.patch, as it is now
+ upstreamed
+
+- Use _service to download the source tarball
+
+- Update to version 2022.0.0:
+ * Extended the Flow Graph receiving nodes with a new
+ try_put_and_wait API that submits a message to the graph and
+ waits for its completion.
+ * Fixed the missed signal for thread request for enqueue
+ operation
+ * Significantly improved scalability of task_group, flow_graph,
+ and parallel_for_each
+ * Removed usage of std::aligned_storage deprecated in C++23
+ * Fixed the issue where oneapi::tbb::info interfaces might
+ interfere with the process affinity mask on the Windows* OS
+ systems with multiple processor groups.
+
-------------------------------------------------------------------
Fri Apr 19 03:16:09 UTC 2024 - Alessandro de Oliveira Faria
diff --git a/tbb.spec b/tbb.spec
index 71f46aa..f4d1007 100644
--- a/tbb.spec
+++ b/tbb.spec
@@ -41,7 +41,7 @@
%bcond_with python3
%endif
Name: tbb
-Version: 2021.12.0
+Version: 2022.0.0
Release: 0
Summary: oneAPI Threading Building Blocks (oneTBB)
License: Apache-2.0
@@ -52,7 +52,6 @@ Source99: tbb-rpmlintrc
# PATCH-FIX-OPENSUSE cmake-remove-include-path.patch -- openCV include error
Patch2: cmake-remove-include-path.patch
Patch4: add-cmake-check-for-libatomic-requirement-when-build.patch
-Patch5: use-FORTIFY_SOURCE-from-distribution.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -82,9 +81,10 @@ oneTBB provides you with functions, interfaces, and classes to parallelize and
scale the code.
%package -n libtbb%{so_ver}
-Summary: Threading Building Blocks (TBB)
+Summary: oneAPI Threading Building Blocks (oneTBB) - Core Library
Group: System/Libraries
Provides: %{name} = %{version}
+Provides: onetbb = %{version}
Obsoletes: %{name} < %{version}
%description -n libtbb%{so_ver}
@@ -97,7 +97,7 @@ scale the code.
This package provides the core shared library corresponding to oneTBB.
%package -n libtbbmalloc%{so_ver_malloc}
-Summary: Threading Building Blocks (TBB)
+Summary: oneAPI Threading Building Blocks (oneTBB) - Memory Allocator Library
Group: System/Libraries
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
@@ -112,7 +112,7 @@ scale the code.
This package provides the oneTBB memory allocator shared library.
%package -n libirml%{so_ver_irml}
-Summary: Threading Building Blocks (TBB) - IPC Library
+Summary: oneAPI Threading Building Blocks (oneTBB) - IPC Library
Group: System/Libraries
%description -n libirml%{so_ver_irml}
@@ -126,7 +126,7 @@ This subpackage provides the library required in order to enable inter-process
(IPC) coordination between oneTBB schedulers for the oneTBB python module.
%package -n libtbbbind%{tbbbind_suffix}-%{so_ver_bind}
-Summary: NUMA support library for oneAPI Threading Building Blocks (oneTBB)
+Summary: oneAPI Threading Building Blocks (oneTBB) - NUMA Support Library
Group: System/Libraries
%description -n libtbbbind%{tbbbind_suffix}-%{so_ver_bind}
@@ -140,7 +140,7 @@ The NUMA support library for oneTBB.
%if 0%{?python_subpackage_only}
%package -n python-%{name}
-Summary: Python %{python_version} support for oneAPI Threading Building Blocks (oneTBB)
+Summary: oneAPI Threading Building Blocks (oneTBB) - Python Bindings
Group: Development/Languages/Python
Requires: libirml%{so_ver_irml}
@@ -156,7 +156,7 @@ This package contains python %{python_version} bindings for oneTBB.
%else
%package -n python3-%{name}
-Summary: Python 3 support for oneAPI Threading Building Blocks (oneTBB)
+Summary: oneAPI Threading Building Blocks (oneTBB) - Python 3 Bindings
Group: Development/Languages/Python
Requires: libirml%{so_ver_irml}
diff --git a/use-FORTIFY_SOURCE-from-distribution.patch b/use-FORTIFY_SOURCE-from-distribution.patch
deleted file mode 100644
index 850d034..0000000
--- a/use-FORTIFY_SOURCE-from-distribution.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -uNr oneTBB-2021.12.0.orig/cmake/compilers/GNU.cmake oneTBB-2021.12.0/cmake/compilers/GNU.cmake
---- oneTBB-2021.12.0.orig/cmake/compilers/GNU.cmake 2024-02-13 08:49:20.000000000 -0300
-+++ oneTBB-2021.12.0/cmake/compilers/GNU.cmake 2024-04-19 03:55:56.178055557 -0300
-@@ -75,7 +75,6 @@
- if (NOT APPLE AND NOT MINGW)
- set(TBB_LIB_LINK_FLAGS ${TBB_LIB_LINK_FLAGS} -Wl,-z,relro,-z,now,-z,noexecstack)
- endif()
--set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} $<$>:-D_FORTIFY_SOURCE=2> )
-
-
- # TBB malloc settings