SPECS: scalar.spec - use CXXFLAGS to optimize, OPTIMIZE=... didn't...

shadzik shadzik at pld-linux.org
Sat Oct 28 16:34:18 CEST 2006


Author: shadzik                      Date: Sat Oct 28 14:34:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use CXXFLAGS to optimize, OPTIMIZE=... didn't give a sh** :)

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

---- Diffs:

================================================================
Index: SPECS/scalar.spec
diff -u SPECS/scalar.spec:1.1 SPECS/scalar.spec:1.2
--- SPECS/scalar.spec:1.1	Sat Oct 28 15:47:36 2006
+++ SPECS/scalar.spec	Sat Oct 28 16:34:13 2006
@@ -7,7 +7,7 @@
 Summary(pl):	Uzależniająca gra logiczna, która pomaga zabić czas
 Name:		scalar
 Version:	1.02
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://dl.sourceforge.net/scalar/%{name}-%{version}-src.tar.bz2
@@ -15,6 +15,7 @@
 Source1:	%{name}.desktop
 Source2:	%{name}.png
 Patch0:		%{name}-images_dir.patch
+Patch1:		%{name}-Makefile.patch
 URL:		http://scalar.sourceforge.net/
 BuildRequires:	SDL-devel
 BuildRequires:	SDL_image-devel
@@ -34,12 +35,13 @@
 %prep
 %setup -q -n %{name}-%{version}-src
 %patch0 -p1
+%patch1 -p0
 sed -i 's at data@%{_datadir}/%{name}/data@' %{name}.cpp
 
 %build
 %{__make} \
 	CXX="%{__cxx}" \
-	OPTIMIZE="%{rpmcflags}"
+	CXXFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -68,6 +70,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/10/28 14:34:13  shadzik
+- use CXXFLAGS to optimize, OPTIMIZE=... didn't give a sh** :)
+
 Revision 1.1  2006/10/28 13:47:36  lisu
 - new
 
================================================================

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



More information about the pld-cvs-commit mailing list