From 0622fdf1153125e29b47a83773d8cb94d093041c Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 13 Nov 2013 21:12:46 +0000 Subject: [PATCH] Revert pretrans --- xorg-x11-drv-nvidia.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index c1c4dc1..097973f 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -8,7 +8,7 @@ Name: xorg-x11-drv-nvidia Epoch: 1 Version: 331.20 -Release: 3%{?dist} +Release: 4%{?dist} Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards Group: User Interface/X Hardware Support @@ -256,7 +256,7 @@ sed -i -e "s/__USER__/root/" $RPM_BUILD_ROOT%{_unitdir}/nvidia-persistenced.serv mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/nvidia -%pretrans +%pre if [ "$1" -eq "1" ]; then if [ -x %{_bindir}/nvidia-uninstall ]; then %{_bindir}/nvidia-uninstall -s && rm -f %{_bindir}/nvidia-uninstall &>/dev/null || : @@ -450,6 +450,9 @@ fi %{_libdir}/vdpau/libvdpau_nvidia.so %changelog +* Wed Nov 13 2013 Nicolas Chauvet - 1:331.20-4 +- Revert %%pretrans move - rfbz#3027 + * Mon Nov 11 2013 Nicolas Chauvet - 1:331.20-3 - move nvidia-uninstall to %%pretrans - Setuid root for nvidia-modprobe to allow text users to load modules