diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 9973358..5982559 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 18 11:02:23 UTC 2020 - Stefan Dirsch + +- switch to /usr/etc/OpenCL/vendors for mesa.icd OpenCL file + location (boo#1173005) + ------------------------------------------------------------------- Mon Jun 15 12:31:13 UTC 2020 - Stefan Dirsch diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index d3ab874..a0ae968 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -793,6 +793,7 @@ egl_platforms=x11,drm,surfaceless,wayland %endif %if 0%{with_opencl} -Dgallium-opencl=icd \ + --sysconfdir=%{_distconfdir} \ %endif -Ddri-search-path=%{_libdir}/dri \ %if 0%{with_llvm} @@ -1171,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 %{_sysconfdir}/OpenCL -%dir %{_sysconfdir}/OpenCL/vendors -%{_sysconfdir}/OpenCL/vendors/mesa.icd +%dir %{_distconfdir}/OpenCL +%dir %{_distconfdir}/OpenCL/vendors +%{_distconfdir}/OpenCL/vendors/mesa.icd %{_libdir}/libMesaOpenCL.so* %endif diff --git a/Mesa.changes b/Mesa.changes index 9973358..5982559 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 18 11:02:23 UTC 2020 - Stefan Dirsch + +- switch to /usr/etc/OpenCL/vendors for mesa.icd OpenCL file + location (boo#1173005) + ------------------------------------------------------------------- Mon Jun 15 12:31:13 UTC 2020 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index 29007f4..89c801b 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -792,6 +792,7 @@ egl_platforms=x11,drm,surfaceless,wayland %endif %if 0%{with_opencl} -Dgallium-opencl=icd \ + --sysconfdir=%{_distconfdir} \ %endif -Ddri-search-path=%{_libdir}/dri \ %if 0%{with_llvm} @@ -1170,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 %{_sysconfdir}/OpenCL -%dir %{_sysconfdir}/OpenCL/vendors -%{_sysconfdir}/OpenCL/vendors/mesa.icd +%dir %{_distconfdir}/OpenCL +%dir %{_distconfdir}/OpenCL/vendors +%{_distconfdir}/OpenCL/vendors/mesa.icd %{_libdir}/libMesaOpenCL.so* %endif