rpms/wastesedge/F-8 wastesedge-more.patch, NONE, 1.1 wastesedge.spec, 1.1, 1.2

Mathieu Bridon (bochecha) fedora-extras-commits at redhat.com
Sat Jun 28 19:02:45 UTC 2008


Author: bochecha

Update of /cvs/pkgs/rpms/wastesedge/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23534

Modified Files:
	wastesedge.spec 
Added Files:
	wastesedge-more.patch 
Log Message:
Patched configure script so that it doesn't rely on "more" any more.



wastesedge-more.patch:

--- NEW FILE wastesedge-more.patch ---
--- configure	2005-04-16 12:57:04.000000000 +0200
+++ configure.new	2008-06-28 19:41:53.000000000 +0200
@@ -4670,9 +4670,9 @@
 $adonthell_binary -v &> adonthell.ver
 
 
-adonthell_major_ver=`more adonthell.ver | sed 's/\([0-9]*\)\.[0-9]*\.[0-9]*/\1/p; d'`
-adonthell_minor_ver=`more adonthell.ver | sed 's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/p; d'`
-adonthell_micro_ver=`more adonthell.ver | sed 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/p; d'`
+adonthell_major_ver=`sed 's/\([0-9]*\)\.[0-9]*\.[0-9]*/\1/p; d' adonthell.ver `
+adonthell_minor_ver=`sed 's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/p; d' adonthell.ver `
+adonthell_micro_ver=`sed 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/p; d' adonthell.ver `
 
 
 rm -f adonthell.ver


Index: wastesedge.spec
===================================================================
RCS file: /cvs/pkgs/rpms/wastesedge/F-8/wastesedge.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wastesedge.spec	18 Jun 2008 21:41:38 -0000	1.1
+++ wastesedge.spec	28 Jun 2008 19:02:00 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           wastesedge
 Version:        0.3.4
-Release:        0.8%{?dist}
+Release:        0.9%{?dist}
 Summary:        Official game package for Adonthell
 
 Group:          Amusements/Games
@@ -8,6 +8,7 @@
 URL:            http://adonthell.linuxgames.com/
 Source0:        http://savannah.nongnu.org/download/adonthell/%{name}-src-%{version}.tar.gz
 Source1:        %{name}.desktop
+Patch0:        %{name}-more.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
@@ -31,7 +32,8 @@
 chmod a-x AUTHORS COPYING INSTALL README
 # install locale files in the right place
 sed -i 's|datadir = @gamedatadir@|datadir = ${prefix}/share|' po/Makefile.in.in
-
+# patch configure to not use "more" any more
+%patch0 -p0
 
 %build
 %configure
@@ -79,6 +81,9 @@
 
 
 %changelog
+* Sat Jun 28 2008 Mathieu Bridon <bochecha at no-log.org> 0.3.4-0.9
+- patched configure script so that it doesn't use "more" any more.
+
 * Tue Jun 03 2008 Mathieu Bridon <bochecha at no-log.org> 0.3.4-0.8
 - added forgotten call to gtk-update-icon-cache in post and postun sections
 




More information about the fedora-extras-commits mailing list