From 5eb47090179b00a583cc4236b4d543b0ac2d396b Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Fri, 24 Feb 2017 16:03:07 +0000 Subject: [PATCH] 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}