diff --git a/opencl-headers.spec b/opencl-headers.spec index 86010b7..3a9a0b4 100644 --- a/opencl-headers.spec +++ b/opencl-headers.spec @@ -1,11 +1,11 @@ -%global commit0 def8be9d35fda35492b72f54a94515f7df8d1e9f -%global date 20220510 +%global commit0 4c82e9cfaaad18c340f48af3cf5d09ff33e8c1b7 +%global date 20230201 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) -%global cl_hpp_ver 2022.05.18 +%global cl_hpp_ver 2023.02.06 Name: opencl-headers Version: 3.0 -Release: 13%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist} +Release: 14%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist} Summary: OpenCL (Open Computing Language) header files License: MIT @@ -13,8 +13,6 @@ URL: https://www.khronos.org/registry/cl/ Source0: https://github.com/KhronosGroup/OpenCL-Headers/archive/%{commit0}/OpenCL-Headers-%{shortcommit0}.tar.gz Source1: https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v%{cl_hpp_ver}/OpenCL-CLHPP-v%{cl_hpp_ver}.tar.gz -# OCL 1.2 compatibility -Source2: https://www.khronos.org/registry/cl/api/2.1/cl.hpp BuildArch: noarch @@ -25,7 +23,7 @@ BuildArch: noarch %autosetup -n OpenCL-Headers-%{commit0} tar -xf %{SOURCE1} -cp -p OpenCL-CLHPP-%{cl_hpp_ver}/include/CL/{cl2,opencl}.hpp %{SOURCE2} . +cp -p OpenCL-CLHPP-%{cl_hpp_ver}/include/CL/{cl2,opencl}.hpp . %build # Nothing to build @@ -46,7 +44,6 @@ rm -vf %{buildroot}%{_includedir}/CL/cl_{dx9,d3d}* %{_includedir}/CL/cl_gl.h %{_includedir}/CL/cl.h %{_includedir}/CL/cl_half.h -%{_includedir}/CL/cl.hpp %{_includedir}/CL/cl_icd.h %{_includedir}/CL/cl_layer.h %{_includedir}/CL/cl_platform.h @@ -56,6 +53,10 @@ rm -vf %{buildroot}%{_includedir}/CL/cl_{dx9,d3d}* %{_includedir}/CL/opencl.hpp %changelog +* Sat Mar 18 2023 Frantisek Zatloukal - 3.0-14.20230201git4c82e9c +- Resync to 20230201 +- Drop cl.hpp (CL 1.4 is provided by opencl.h according to upstream) + * Thu Jan 19 2023 Fedora Release Engineering - 3.0-13.20220510gitdef8be9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 79bf9e4..33cae59 100644 --- a/sources +++ b/sources @@ -1,3 +1,2 @@ -SHA512 (OpenCL-CLHPP-v2022.05.18.tar.gz) = af21fac8856a1a7d5de6ccde64dee9518740f75503808488312e226ae441e013e7340a7089f273b021a8d1e34c17dad9df51953c742eef8f8c470657a7816fe2 -SHA512 (cl.hpp) = 3168642c970a44eb71c0c05e5cf32441ddfc7a7f7d2c159076cd8cc662dc134773ea6a08b2a9414fcf259e5e9e574054966ad015d1578aae52b87efa5b662ad5 -SHA512 (OpenCL-Headers-def8be9.tar.gz) = 6320cf4a1f5c268ce78f855267f95ddfa18fa60041ef38ecffd1d1a6fdf93942c735d66d2b1523c63aa816c003211509ed1fab46bd6874d9e968da7251b8cbac +SHA512 (OpenCL-CLHPP-v2023.02.06.tar.gz) = 30252a832287375d550a5e184779881d5b22207a636298c7f52f277c219d3a1ae6983259cfea7bf4f90f0840fec114ee0e7a8c1e6a6fe48c24fd3b5119e7a7f8 +SHA512 (OpenCL-Headers-4c82e9c.tar.gz) = ab694138783b33303a6292bd3978ce8bda37ce91d78798679e1542c0c70ee36dfb1c2b347fc031cd9b5fbb2f1cf8887febf3abea7d6f599b3432f90841caf329