upgrade version to 2.2.1 and add yaml

modify yaml

modify release
This commit is contained in:
small_leek 2020-10-23 18:20:42 +08:00
parent f6213be69c
commit 2ea6c85179
4 changed files with 15 additions and 12 deletions

Binary file not shown.

View File

@ -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 <xiasenlin1@huawei.com> - 2.2-7
- rebuild on v2020.06.16 and add yaml
* Sat May 2 2020 sinever <sinever@126.com> - 2.2
- Package init
- Package init

4
opencl-headers.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: KhronosGroup/OpenCL-Headers
tag_prefix: ^v
separator: "."

BIN
v2020.06.16.tar.gz Normal file

Binary file not shown.