rpms/wormux/devel wormux-0.8.3-cflags.patch, NONE, 1.1 wormux.spec, 1.19, 1.20

Michael Thomas wart at fedoraproject.org
Thu May 7 21:54:06 UTC 2009


Author: wart

Update of /cvs/pkgs/rpms/wormux/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10789

Modified Files:
	wormux.spec 
Added Files:
	wormux-0.8.3-cflags.patch 
Log Message:
Build with $RPM_OPT_FLAGS.



wormux-0.8.3-cflags.patch:

--- NEW FILE wormux-0.8.3-cflags.patch ---
diff -up wormux-0.8.3/configure~ wormux-0.8.3/configure
--- wormux-0.8.3/configure~	2009-03-05 22:24:17.000000000 +0200
+++ wormux-0.8.3/configure	2009-05-07 20:41:31.000000000 +0300
@@ -7608,6 +7608,7 @@ echo "${ECHO_T}$gccver" >&6; }
     GCC_FLAGS="$GCC_FLAGS -DWMX_LOG"
   fi
 
+   GCC_FLAGS="$GCC_FLAGS $CFLAGS"
       CFLAGS="$GCC_FLAGS"
     CXXFLAGS="$GCC_FLAGS"
 


Index: wormux.spec
===================================================================
RCS file: /cvs/pkgs/rpms/wormux/devel/wormux.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- wormux.spec	7 May 2009 15:40:15 -0000	1.19
+++ wormux.spec	7 May 2009 21:53:35 -0000	1.20
@@ -1,12 +1,13 @@
 Name:           wormux
 Version:        0.8.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        2D convivial mass murder game
 
 Group:          Amusements/Games
 License:        GPLv2+
 URL:            http://www.wormux.org
 Source0:        http://download.gna.org/wormux/%{name}-%{version}.tar.bz2
+Patch0:         wormux-0.8.3-cflags.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  SDL_image-devel SDL_gfx-devel SDL_mixer-devel
@@ -33,6 +34,7 @@ Data files for wormux
 
 %prep
 %setup -q
+%patch0 -p1
 
 # Remove a backup file
 rm -f data/game_mode/rope_objects.xml~
@@ -92,6 +94,9 @@ fi
 %{_datadir}/%{name}
 
 %changelog
+* Thu May  7 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.8.3-2
+- Build with $RPM_OPT_FLAGS.
+
 * Wed May 6 2009 Wart <wart at kobold.org> 0.8.3-1
 - Update to 0.8.3
 - Make -data subpackage noarch




More information about the scm-commits mailing list