SPECS: quake2.spec - updated gamedir patch; cd no longer needed in...

qboosh qboosh at pld-linux.org
Sun Apr 29 11:14:30 CEST 2007


Author: qboosh                       Date: Sun Apr 29 09:14:30 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated gamedir patch; cd no longer needed in startup scripts

---- Files affected:
SPECS:
   quake2.spec (1.71 -> 1.72) 

---- Diffs:

================================================================
Index: SPECS/quake2.spec
diff -u SPECS/quake2.spec:1.71 SPECS/quake2.spec:1.72
--- SPECS/quake2.spec:1.71	Sun Apr 29 10:40:10 2007
+++ SPECS/quake2.spec	Sun Apr 29 11:14:24 2007
@@ -9,7 +9,7 @@
 Summary(pt_BR.UTF-8):	Quake2 para Linux
 Name:		quake2
 Version:	3.21
-Release:	4.1
+Release:	4.2
 Epoch:		1
 License:	GPL (for main code only)
 Group:		Applications/Games
@@ -49,6 +49,8 @@
 Obsoletes:	quake2-snd-oss
 Obsoletes:	quake2-snd-sdl
 Obsoletes:	quake2-static
+# other archs need at least more #ifdefs
+ExclusiveArch:	%{ix86} alpha
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_gamelibdir	%{_libdir}/%{name}
@@ -224,19 +226,16 @@
 
 cat > $RPM_BUILD_ROOT%{_bindir}/quake2-glx <<EOF
 #!/bin/sh
-cd %{_gamedatadir}
 exec /usr/bin/quake2id +set vid_ref glx +set gl_driver libGL.so.1 > /dev/null
 EOF
 
 cat > $RPM_BUILD_ROOT%{_bindir}/quake2-x11 <<EOF
 #!/bin/sh
-cd %{_gamedatadir}
 exec /usr/bin/quake2id +set vid_ref softx > /dev/null
 EOF
 
 cat > $RPM_BUILD_ROOT%{_bindir}/quake2-svga <<EOF
 #!/bin/sh
-cd %{_gamedatadir}
 exec /usr/bin/quake2id +set vid_ref soft > /dev/null
 EOF
 
@@ -369,6 +368,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2007/04/29 09:14:24  qboosh
+- updated gamedir patch; cd no longer needed in startup scripts
+
 Revision 1.71  2007/04/29 08:40:10  qboosh
 - added rogue,xatrix patches, bconds and packages
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/quake2.spec?r1=1.71&r2=1.72&f=u



More information about the pld-cvs-commit mailing list