]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/blobdiff - xorg-driver-video-nvidia.spec
- ldconfig in libs post(un)
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
index 031a30318de26931148fc832308b82e0de4aee54..0f14e1723c1f15b2053429169fdd3957b7e11fe4 100644 (file)
@@ -112,10 +112,10 @@ Obsoletes:        XFree86-OpenGL-libGL < 1:7.0.0
 Conflicts:     Mesa-libGL
 %endif
 
 Conflicts:     Mesa-libGL
 %endif
 
-%description devel
+%description libs
 NVIDIA OpenGL (GL and GLX only) implementation libraries.
 
 NVIDIA OpenGL (GL and GLX only) implementation libraries.
 
-%description devel -l pl.UTF-8
+%description libs -l pl.UTF-8
 Implementacja OpenGL (tylko GL i GLX) firmy NVIDIA.
 
 %package devel
 Implementacja OpenGL (tylko GL i GLX) firmy NVIDIA.
 
 %package devel
@@ -312,7 +312,6 @@ ln -sf libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
 rm -rf $RPM_BUILD_ROOT
 
 %post
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
 cat << 'EOF'
 NOTE: You must also install kernel module for this driver to work
   kernel-video-nvidia-%{version}
 cat << 'EOF'
 NOTE: You must also install kernel module for this driver to work
   kernel-video-nvidia-%{version}
@@ -329,7 +328,8 @@ if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
 fi
 %endif
 
 fi
 %endif
 
-%postun        -p /sbin/ldconfig
+%post  libs -p /sbin/ldconfig
+%postun        libs -p /sbin/ldconfig
 
 %post  -n kernel%{_alt_kernel}-video-nvidia
 %depmod %{_kernel_ver}
 
 %post  -n kernel%{_alt_kernel}-video-nvidia
 %depmod %{_kernel_ver}
This page took 0.0596 seconds and 4 git commands to generate.