packages: warsow-data/warsow-data.spec, warsow-data/warsow-data-paths.patch...

evil evil at pld-linux.org
Thu May 6 02:46:34 CEST 2010


Author: evil                         Date: Thu May  6 00:46:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added patch setting correct paths in wrappers

---- Files affected:
packages/warsow-data:
   warsow-data.spec (1.1 -> 1.2) , warsow-data-paths.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/warsow-data/warsow-data.spec
diff -u packages/warsow-data/warsow-data.spec:1.1 packages/warsow-data/warsow-data.spec:1.2
--- packages/warsow-data/warsow-data.spec:1.1	Wed May  5 02:57:58 2010
+++ packages/warsow-data/warsow-data.spec	Thu May  6 02:46:28 2010
@@ -9,6 +9,7 @@
 Group:		X11/Applications/Games
 Source0:	http://data.rodix.free.fr/warsow/files/warsow_%{version}_unified.zip
 # Source0-md5:	d0cb961256bbc1b93bf240b8bcf8eff5
+Patch0:		%{name}-paths.patch
 URL:		http://www.warsow.net/
 BuildRequires:	unzip
 BuildArch:	noarch
@@ -22,6 +23,7 @@
 
 %prep
 %setup -q -c
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -46,6 +48,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/05/06 00:46:28  evil
+- added patch setting correct paths in wrappers
+
 Revision 1.1  2010/05/05 00:57:58  evil
 - splitted from warsow.spec
 

================================================================
Index: packages/warsow-data/warsow-data-paths.patch
diff -u /dev/null packages/warsow-data/warsow-data-paths.patch:1.1
--- /dev/null	Thu May  6 02:46:34 2010
+++ packages/warsow-data/warsow-data-paths.patch	Thu May  6 02:46:28 2010
@@ -0,0 +1,51 @@
+--- warsow-0.5/warsow.orig	2010-05-06 02:12:37.142204911 +0200
++++ warsow-0.5/warsow	2010-05-06 02:11:46.518668177 +0200
+@@ -5,12 +5,12 @@
+ # Location of Warsow binaries?
+ # Leave empty to use the directory of this script
+ 
+-BINARY_DIR=
++BINARY_DIR=/usr/bin
+ 
+ # Location of Warsow binaries?
+ # Leave empty to use the directory of the binaries
+ 
+-DATA_DIR=
++DATA_DIR=/usr/share/warsow
+ 
+ # Whether to use ~/.warsow directory? (0 or 1)
+ # Leave empty to set to 1 if DATA_DIR doesn't have write permissions
+--- warsow-0.5/wsw_server.orig	2010-05-06 02:12:52.218670351 +0200
++++ warsow-0.5/wsw_server	2010-05-06 02:14:16.858872943 +0200
+@@ -5,12 +5,12 @@
+ # Location of Warsow binaries?
+ # Leave empty to use the directory of this script
+ 
+-BINARY_DIR=
++BINARY_DIR=/usr/bin
+ 
+ # Location of Warsow binaries?
+ # Leave empty to use the directory of the binaries
+ 
+-DATA_DIR=
++DATA_DIR=/usr/share/warsow
+ 
+ # Whether to use ~/.warsow directory? (0 or 1)
+ # Leave empty to set to 1 if DATA_DIR doesn't have write permissions
+--- warsow-0.5/wswtv_server.orig	2010-05-06 02:13:22.939491993 +0200
++++ warsow-0.5/wswtv_server	2010-05-06 02:13:57.341988552 +0200
+@@ -5,12 +5,12 @@
+ # Location of Warsow binaries?
+ # Leave empty to use the directory of this script
+ 
+-BINARY_DIR=
++BINARY_DIR=/usr/bin
+ 
+ # Location of Warsow binaries?
+ # Leave empty to use the directory of the binaries
+ 
+-DATA_DIR=
++DATA_DIR=/usr/share/warsow
+ 
+ # Whether to use ~/.warsow directory? (0 or 1)
+ # Leave empty to set to 1 if DATA_DIR doesn't have write permissions
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/warsow-data/warsow-data.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list