diff --git a/OpenCL-Headers-49f07d3.tar.gz b/OpenCL-Headers-49f07d3.tar.gz deleted file mode 100644 index abc6ceb..0000000 Binary files a/OpenCL-Headers-49f07d3.tar.gz and /dev/null differ diff --git a/opencl-headers.spec b/opencl-headers.spec index 1a81187..3681112 100644 --- a/opencl-headers.spec +++ b/opencl-headers.spec @@ -1,24 +1,18 @@ -%global commit0 49f07d313344ddb22701847ea5c18cb7db03b0d7 -%global date 20190205 -%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) - +%global date 2020.06.16 Name: opencl-headers Version: 2.2 -Release: 6%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist} +Release: 7 Summary: OpenCL (Open Computing Language) header files - License: MIT -URL: https://www.khronos.org/registry/cl/ - -Source0: https://github.com/KhronosGroup/OpenCL-Headers/archive/%{commit0}/OpenCL-Headers-%{commit0}.tar.gz#/OpenCL-Headers-%{shortcommit0}.tar.gz - +URL: https://github.com/KhronosGroup/OpenCL-Headers +Source0: https://github.com/KhronosGroup/OpenCL-Headers/archive/v%{date}.tar.gz BuildArch: noarch %description %{summary}. %prep -%autosetup -n OpenCL-Headers-%{commit0} +%autosetup -n OpenCL-Headers-%{date} %build # Nothing to build @@ -39,9 +33,14 @@ rm -vf %{buildroot}%{_includedir}/CL/cl_{dx9,d3d}* %{_includedir}/CL/cl_gl.h %{_includedir}/CL/cl_gl_ext.h %{_includedir}/CL/cl_ext_intel.h +%{_includedir}/CL/cl_half.h +%{_includedir}/CL/cl_icd.h %{_includedir}/CL/cl_va_api_media_sharing_intel.h %{_includedir}/CL/cl_version.h %changelog +* Fri Oct 23 2020 Senlin Xia - 2.2-7 +- rebuild on v2020.06.16 and add yaml + * Sat May 2 2020 sinever - 2.2 -- Package init \ No newline at end of file +- Package init diff --git a/opencl-headers.yaml b/opencl-headers.yaml new file mode 100644 index 0000000..05233f5 --- /dev/null +++ b/opencl-headers.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: KhronosGroup/OpenCL-Headers +tag_prefix: ^v +separator: "." diff --git a/v2020.06.16.tar.gz b/v2020.06.16.tar.gz new file mode 100644 index 0000000..f4456dc Binary files /dev/null and b/v2020.06.16.tar.gz differ