From bb7e6767c9fcf7008c73309541d9caa532a68102 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Sat, 16 Aug 2014 14:41:46 +0000 Subject: [PATCH] Exclude vendor provided OpenCL.so, we can use fedora one --- xorg-x11-drv-nvidia.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index 44cb8fc..d37419e 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -419,6 +419,9 @@ fi ||: %{_nvidia_libdir}/*.so.* %exclude %{_nvidia_libdir}/libcuda.so* %ifarch x86_64 i686 +%if 0%{?fedora} > 18 +%exclude %{_nvidia_libdir}/libOpenCL.so.* +%endif %dir %{_nvidia_libdir}/tls %{_nvidia_libdir}/tls/*.so.* %endif @@ -448,7 +451,11 @@ fi ||: %defattr(-,root,root,-) %{_includedir}/nvidia/ %ifarch x86_64 i686 +%if 0%{?fedora} > 18 +%exclude %{_nvidia_libdir}/libOpenCL.so +%else %{_nvidia_libdir}/libOpenCL.so +%endif %{_nvidia_libdir}/libnvidia-compiler.so %{_nvidia_libdir}/libnvidia-opencl.so %{_nvidia_libdir}/tls/libnvidia-tls.so