commit cc30ec0f7de842f6962bbc69d892cdc357c9ff47
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Feb 24 16:03:07 2017 +0000
Remove prelink
xorg-x11-drv-nvidia.spec | 10 ----------
1 file changed, 10 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index d0054c8..e2848a6 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -361,10 +361,6 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
install -pm 0644 %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/nvidia.conf
%endif
-#Avoid prelink to mess with nvidia libs - rfbz#3258
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d
-touch $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/nvidia-%{_lib}.conf
-
#Install the initscript
tar jxf nvidia-persistenced-init.tar.bz2
%if 0%{?rhel} > 6 || 0%{?fedora} >= 15
@@ -407,11 +403,6 @@ if [ "$1" -eq "1" ]; then
fi
fi
-%pre libs
-if [ -d %{_sysconfdir}/prelink.conf.d ]; then
-echo "-b %{_nvidia_libdir}" >
%{_sysconfdir}/prelink.conf.d/nvidia-%{_lib}.conf
-fi
-
%post
/sbin/ldconfig
if [ "$1" -eq "1" ]; then
@@ -569,7 +560,6 @@ fi ||:
%dir %{_nvidia_libdir}
%dir %{_nvidia_libdir}/tls
%endif
-%ghost %{_sysconfdir}/prelink.conf.d/nvidia-%{_lib}.conf
%{_nvidia_libdir}/alternate-install-present
%{_nvidia_libdir}/*.so.*
%if 0%{?rhel}
Show replies by date