Accepting request 816652 from X11:XOrg

- move mesa.icd from /usr/etc/OpenCL/vendors to 
  /usr/share/OpenCL/vendors (boo#1173005)

OBS-URL: https://build.opensuse.org/request/show/816652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=384
This commit is contained in:
Dominique Leuenberger 2020-06-25 14:47:07 +00:00 committed by Git OBS Bridge
commit cd7c3ddb9c
4 changed files with 20 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 23 18:02:26 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- move mesa.icd from /usr/etc/OpenCL/vendors to
/usr/share/OpenCL/vendors (boo#1173005)
-------------------------------------------------------------------
Thu Jun 18 11:02:23 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -84,9 +84,6 @@
%if 0%{with_opencl}
%define have_gallium 1
%if 0%{?suse_version} < 1550
%define _distconfdir /etc
%endif
%else
%define have_gallium 0
%endif
@ -796,7 +793,7 @@ egl_platforms=x11,drm,surfaceless,wayland
%endif
%if 0%{with_opencl}
-Dgallium-opencl=icd \
--sysconfdir=%{_distconfdir} \
--sysconfdir=%{_datadir} \
%endif
-Ddri-search-path=%{_libdir}/dri \
%if 0%{with_llvm}
@ -1175,9 +1172,9 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%if 0%{with_opencl}
%files -n Mesa-libOpenCL
%dir %{_distconfdir}/OpenCL
%dir %{_distconfdir}/OpenCL/vendors
%{_distconfdir}/OpenCL/vendors/mesa.icd
%dir %{_datadir}/OpenCL
%dir %{_datadir}/OpenCL/vendors
%{_datadir}/OpenCL/vendors/mesa.icd
%{_libdir}/libMesaOpenCL.so*
%endif

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 23 18:02:26 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- move mesa.icd from /usr/etc/OpenCL/vendors to
/usr/share/OpenCL/vendors (boo#1173005)
-------------------------------------------------------------------
Thu Jun 18 11:02:23 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -83,9 +83,6 @@
%if 0%{with_opencl}
%define have_gallium 1
%if 0%{?suse_version} < 1550
%define _distconfdir /etc
%endif
%else
%define have_gallium 0
%endif
@ -795,7 +792,7 @@ egl_platforms=x11,drm,surfaceless,wayland
%endif
%if 0%{with_opencl}
-Dgallium-opencl=icd \
--sysconfdir=%{_distconfdir} \
--sysconfdir=%{_datadir} \
%endif
-Ddri-search-path=%{_libdir}/dri \
%if 0%{with_llvm}
@ -1174,9 +1171,9 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%if 0%{with_opencl}
%files -n Mesa-libOpenCL
%dir %{_distconfdir}/OpenCL
%dir %{_distconfdir}/OpenCL/vendors
%{_distconfdir}/OpenCL/vendors/mesa.icd
%dir %{_datadir}/OpenCL
%dir %{_datadir}/OpenCL/vendors
%{_datadir}/OpenCL/vendors/mesa.icd
%{_libdir}/libMesaOpenCL.so*
%endif