SPECS: xorg-driver-video-nvidia-legacy.spec - no circular symlinks

qboosh qboosh at pld-linux.org
Mon Jul 23 20:21:21 CEST 2007


Author: qboosh                       Date: Mon Jul 23 18:21:21 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- no circular symlinks

---- Files affected:
SPECS:
   xorg-driver-video-nvidia-legacy.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: SPECS/xorg-driver-video-nvidia-legacy.spec
diff -u SPECS/xorg-driver-video-nvidia-legacy.spec:1.34 SPECS/xorg-driver-video-nvidia-legacy.spec:1.35
--- SPECS/xorg-driver-video-nvidia-legacy.spec:1.34	Thu Jul 19 20:50:56 2007
+++ SPECS/xorg-driver-video-nvidia-legacy.spec	Mon Jul 23 20:21:16 2007
@@ -182,14 +182,10 @@
 install usr/X11R6/lib/modules/drivers/nvidia_drv.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers
 install usr/include/GL/*.h	$RPM_BUILD_ROOT%{_includedir}/GL
 
-ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
+ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libGL.so
 ln -sf libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libglx.so
 ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
 
-# OpenGL ABI for Linux compatibility
-ln -sf %{_libdir}/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so.1
-ln -sf %{_libdir}/libGL.so $RPM_BUILD_ROOT%{_libdir}/libGL.so
-
 %if %{with kernel}
 %install_kernel_modules -m usr/src/nv/nvidia -d misc
 %endif
@@ -219,7 +215,7 @@
 %doc usr/share/doc/{README,NVIDIA_Changelog,XF86Config.sample}
 #%%lang(de) %doc usr/share/doc/README.DE
 %attr(755,root,root) %{_libdir}/libGL.so.*.*
-%attr(755,root,root) %{_libdir}/libGL.so.1
+%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
 %attr(755,root,root) %{_libdir}/libGL.so
 %attr(755,root,root) %{_libdir}/libGLcore.so.*.*
 %attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.*
@@ -236,7 +232,7 @@
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
-# FIX me: include %dir or -devel: R: xorg-proto-glproto-devel
+# FIXME: include %dir or -devel: R: xorg-proto-glproto-devel
 %dir %{_includedir}/GL
 %{_includedir}/GL/*.h
 # -static
@@ -252,6 +248,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2007/07/23 18:21:16  qboosh
+- no circular symlinks
+
 Revision 1.34  2007/07/19 18:50:56  twittner
 - complete %{_perfix}/%{_lib} -> %{_libdir} changes. Since xorg uses
   /usr as prefix not /usr/X11R6 so there is not difference between
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xorg-driver-video-nvidia-legacy.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list