From 00b9fd948ee2e04dcf03226713267fc06b10e7dd Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 8 Dec 2014 13:46:19 +0000 Subject: [PATCH] Fixup --- xorg-x11-drv-nvidia.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index 5a142a1..8cac1b6 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -287,6 +287,9 @@ sed -i -e "s/__USER__/root/" $RPM_BUILD_ROOT%{_unitdir}/nvidia-persistenced.serv #Create the default nvidia config directory mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/nvidia +#Ghost Xorg nvidia.conf file +touch $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d/nvidia.conf + #Install the nvidia kernel modules sources archive mkdir -p $RPM_BUILD_ROOT%{_datadir}/nvidia-kmod-%{version} tar Jcf $RPM_BUILD_ROOT%{_datadir}/nvidia-kmod-%{version}/nvidia-kmod-%{version}-%{_target_cpu}.tar.xz kernel @@ -393,6 +396,7 @@ fi ||: %doc nvidiapkg/nvidia-application-profiles-%{version}-rc %doc nvidiapkg/html %dir %{_sysconfdir}/nvidia +%ghost %{_sysconfdir}/X11/xorg.conf.d/nvidia.conf %config %{_sysconfdir}/X11/xorg.conf.d/99-nvidia.conf %config %{_sysconfdir}/X11/xorg.conf.d/00-avoid-glamor.conf # Comment Xorg abi override @@ -440,6 +444,7 @@ fi ||: %endif %exclude %{_nvidia_libdir}/libnvidia-compiler.so* %exclude %{_nvidia_libdir}/libnvidia-opencl.so* +%{_nvidia_libdir}/libnvidia-ml.so* %dir %{_nvidia_libdir}/tls %{_nvidia_libdir}/tls/*.so.* %endif @@ -499,6 +504,7 @@ fi ||: %changelog * Mon Dec 08 2014 Nicolas Chauvet - 1:343.22-3 - Switch libnvidia-ml back to multilibs +- ghost /etc/X11/xorg.conf.d/nvidia.conf file * Mon Oct 13 2014 kwizart - 1:343.22-2 - Fix prelink hack - rfbz#3258#c13