commit 7d312c4d2b5e94d82d657d1a1bc0df7bbd8813d5
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Dec 19 08:45:46 2016 +0000
Fix nvidia.conf
nvidia.conf | 2 +-
xorg-x11-drv-nvidia.spec | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/nvidia.conf b/nvidia.conf
index 19864d0..9315780 100644
--- a/nvidia.conf
+++ b/nvidia.conf
@@ -7,5 +7,5 @@ Section "OutputClass"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes"
- ModulePath "/usr/lib64/nvidia/xorg"
+ ModulePath "@LIBDIR@/xorg/modules"
EndSection
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 7bb928f..7acd541 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -9,7 +9,7 @@
Name: xorg-x11-drv-nvidia
Epoch: 1
Version: 375.26
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
Group: User Interface/X Hardware Support
@@ -292,6 +292,8 @@ install -p -m 0644
nvidia-application-profiles-%{version}-{rc,key-documentation}
%if 0%{?fedora} >= 21
mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
install -pm 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/nvidia.conf
+sed -i -e 's|@LIBDIR@|%{_libdir}|g'
$RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/nvidia.conf
+touch -r %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/nvidia.conf
%endif
#Avoid prelink to mess with nvidia libs - rfbz#3258
@@ -550,6 +552,9 @@ fi ||:
%{_nvidia_libdir}/libGLX_nvidia.so
%changelog
+* Mon Dec 19 2016 leigh scott <leigh123linux(a)googlemail.com> - 1:375.26-3
+- Fix nvidia.conf
+
* Sun Dec 18 2016 leigh scott <leigh123linux(a)googlemail.com> - 1:375.26-2
- Change conf files for Prime support
Show replies by date