SPECS: xorg-xserver-server.spec - multigl: create extensions/libgl...

baggins baggins at pld-linux.org
Sat Sep 29 22:52:16 CEST 2007


Author: baggins                      Date: Sat Sep 29 20:52:16 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- multigl: create extensions/libglx.so symlink if missing in %post

---- Files affected:
SPECS:
   xorg-xserver-server.spec (1.114 -> 1.115) 

---- Diffs:

================================================================
Index: SPECS/xorg-xserver-server.spec
diff -u SPECS/xorg-xserver-server.spec:1.114 SPECS/xorg-xserver-server.spec:1.115
--- SPECS/xorg-xserver-server.spec:1.114	Sat Sep 29 19:55:21 2007
+++ SPECS/xorg-xserver-server.spec	Sat Sep 29 22:52:11 2007
@@ -379,6 +379,13 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%if %{with multigl}
+%post -n xorg-xserver-libglx
+if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
+	ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
+fi
+%endif
+
 %files
 %defattr(644,root,root,755)
 %doc COPYING ChangeLog
@@ -498,6 +505,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.115  2007/09/29 20:52:11  baggins
+- multigl: create extensions/libglx.so symlink if missing in %post
+
 Revision 1.114  2007/09/29 17:55:21  baggins
 - if multigl bcond is enabled libglx does not conflict with xorg-driver-video-nvidia
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xorg-xserver-server.spec?r1=1.114&r2=1.115&f=u



More information about the pld-cvs-commit mailing list