upgrade version to 2.2.1 and add yaml
modify yaml modify release
This commit is contained in:
parent
f6213be69c
commit
2ea6c85179
Binary file not shown.
@ -1,24 +1,18 @@
|
|||||||
%global commit0 49f07d313344ddb22701847ea5c18cb7db03b0d7
|
%global date 2020.06.16
|
||||||
%global date 20190205
|
|
||||||
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
||||||
|
|
||||||
Name: opencl-headers
|
Name: opencl-headers
|
||||||
Version: 2.2
|
Version: 2.2
|
||||||
Release: 6%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
|
Release: 7
|
||||||
Summary: OpenCL (Open Computing Language) header files
|
Summary: OpenCL (Open Computing Language) header files
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://www.khronos.org/registry/cl/
|
URL: https://github.com/KhronosGroup/OpenCL-Headers
|
||||||
|
Source0: https://github.com/KhronosGroup/OpenCL-Headers/archive/v%{date}.tar.gz
|
||||||
Source0: https://github.com/KhronosGroup/OpenCL-Headers/archive/%{commit0}/OpenCL-Headers-%{commit0}.tar.gz#/OpenCL-Headers-%{shortcommit0}.tar.gz
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n OpenCL-Headers-%{commit0}
|
%autosetup -n OpenCL-Headers-%{date}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Nothing to 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.h
|
||||||
%{_includedir}/CL/cl_gl_ext.h
|
%{_includedir}/CL/cl_gl_ext.h
|
||||||
%{_includedir}/CL/cl_ext_intel.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_va_api_media_sharing_intel.h
|
||||||
%{_includedir}/CL/cl_version.h
|
%{_includedir}/CL/cl_version.h
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat May 2 2020 sinever <sinever@126.com> - 2.2
|
||||||
- Package init
|
- Package init
|
||||||
4
opencl-headers.yaml
Normal file
4
opencl-headers.yaml
Normal 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
BIN
v2020.06.16.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user