File project.diff of Package clFFT

--- clFFT.changes.orig
+++ clFFT.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Sat Jun  5 19:48:44 UTC 2021 - Martin Hauke <mardnh@gmx.de>
+
+- Use gcc10 for Tumbleweed to workaround build issues
+
+-------------------------------------------------------------------
 Wed Nov 20 23:15:31 UTC 2019 - Simon Lees <sflees@suse.de>
 
 - %make_jobs is depricated replaced by %cmake_build
--- clFFT.spec.orig
+++ clFFT.spec
@@ -1,8 +1,8 @@
 #
 # spec file for package clFFT
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
+# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2017-2021, Martin Hauke <mardnh@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,14 +26,18 @@ Release:        0
 Summary:        OpenCL FFT library
 License:        Apache-2.0
 Group:          Productivity/Scientific/Math
-Url:            https://github.com/clMathLibraries/clFFT
+URL:            https://github.com/clMathLibraries/clFFT
 #Git-Clone:     https://github.com/clMathLibraries/clFFT.git
 Source:         https://github.com/clMathLibraries/clFFT/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        clFFT-client.1
 Patch0:         fix-client-no-symlink.patch
 Patch1:         clFFT-fix-aarm64.patch
 BuildRequires:  cmake
+%if 0%{?suse_version} >= 1550
+BuildRequires:  gcc10-c++
+%else
 BuildRequires:  gcc-c++
+%endif
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(OpenCL)
@@ -116,6 +120,10 @@ This subpackage provides shared libStatT
 %build
 cd src
 %cmake \
+%if 0%{?suse_version} >= 1550
+  -DCMAKE_C_COMPILER=gcc-10 \
+  -DCMAKE_CXX_COMPILER=/usr/bin/g++-10 \
+%endif
   -DBoost_USE_STATIC_LIBS=OFF \
   -DBUILD_CLIENT=ON \
   -DBUILD_EXAMPLES=OFF \
@@ -141,11 +149,13 @@ install -Dpm0644 %{SOURCE1} \
 %{_mandir}/man1/clFFT-client.1%{ext_man}
 
 %files -n %{libclfft}
-%doc CHANGELOG LICENSE NOTICE ReleaseNotes.txt
+%license LICENSE
+%doc CHANGELOG NOTICE ReleaseNotes.txt
 %{_libdir}/libclFFT.so.%{sover}*
 
 %files -n %{libtimer}
-%doc CHANGELOG LICENSE NOTICE ReleaseNotes.txt
+%license LICENSE
+%doc CHANGELOG NOTICE ReleaseNotes.txt
 %{_libdir}/libStatTimer.so.%{sover}*
 
 %files devel
openSUSE Build Service is sponsored by