SPECS: cob.spec - better optimization - no_warnings.patch

shadzik shadzik at pld-linux.org
Fri Nov 3 07:28:33 CET 2006


Author: shadzik                      Date: Fri Nov  3 06:28:33 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- better optimization
- no_warnings.patch

---- Files affected:
SPECS:
   cob.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/cob.spec
diff -u SPECS/cob.spec:1.1 SPECS/cob.spec:1.2
--- SPECS/cob.spec:1.1	Sun Oct 29 12:52:46 2006
+++ SPECS/cob.spec	Fri Nov  3 07:28:28 2006
@@ -8,6 +8,7 @@
 Group:		X11/Applications/Games
 Source0:	http://www.autismuk.freeserve.co.uk/%{name}-%{version}.tar.gz
 # Source0-md5:	ece428dade7d905e644d66e54b93da40
+Patch0:		%{name}-no_warnings.patch
 URL:		http://www.autismuk.freeserve.co.uk/
 BuildRequires:	SDL-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,10 +25,13 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %configure
-%{__make}
+%{__make} \
+	CXXFLAGS="%{rpmcxxflags}" \
+	CPPFLAGS="-I/usr/include/SDL"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -49,6 +53,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/11/03 06:28:28  shadzik
+- better optimization
+- no_warnings.patch
+
 Revision 1.1  2006/10/29 11:52:46  lisu
 - new
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cob.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list