fix missing dir and remove defattr.

This commit is contained in:
Dave Airlie 2013-03-01 09:23:49 +10:00
parent 3f02388f9e
commit 0e4076ac70

View File

@ -1,7 +1,7 @@
Summary: Khronos OpenCL development headers Summary: Khronos OpenCL development headers
Name: opencl-headers Name: opencl-headers
Version: 1.2 Version: 1.2
Release: 1%{?dist} Release: 2%{?dist}
License: MIT License: MIT
URL: http://www.khronos.org/registry/cl/ URL: http://www.khronos.org/registry/cl/
BuildArch: noarch BuildArch: noarch
@ -39,8 +39,7 @@ cp \
$RPM_BUILD_ROOT%{_includedir}/CL/ $RPM_BUILD_ROOT%{_includedir}/CL/
%files %files
%defattr(-,root,root,-) %dir %{_includedir}/CL
# FIXME should be in drm/ too
%{_includedir}/CL/opencl.h %{_includedir}/CL/opencl.h
%{_includedir}/CL/cl.h %{_includedir}/CL/cl.h
%{_includedir}/CL/cl_ext.h %{_includedir}/CL/cl_ext.h
@ -53,6 +52,9 @@ cp \
%{_includedir}/CL/cl.hpp %{_includedir}/CL/cl.hpp
%changelog %changelog
* Fri Mar 01 2013 Dave Airlie <airlied@redhat.com> 1.2-2
- fix missing dir and remove defattr.
* Wed Feb 27 2013 Dave Airlie <airlied@redhat.com> 1.2-1 * Wed Feb 27 2013 Dave Airlie <airlied@redhat.com> 1.2-1
- OpenCL header files from Khronos for OpenCL 1.2 - OpenCL header files from Khronos for OpenCL 1.2