rpms/vodovod/devel vodovod.spec,1.5,1.6

Karel Volný kvolny at fedoraproject.org
Tue May 12 07:50:36 UTC 2009


Author: kvolny

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

Modified Files:
	vodovod.spec 
Log Message:
fix bug Bug 499506 -  vodovod not built with $RPM_OPT_FLAGS
(thanks to Ville Skyttä)




Index: vodovod.spec
===================================================================
RCS file: /cvs/pkgs/rpms/vodovod/devel/vodovod.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- vodovod.spec	26 Feb 2009 00:46:26 -0000	1.5
+++ vodovod.spec	12 May 2009 07:50:05 -0000	1.6
@@ -1,6 +1,6 @@
 Name:		vodovod
 Version:	1.10r19
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	A pipe connecting game
 
 Group:		Amusements/Games
@@ -39,7 +39,7 @@ sed -i -e "s|data/font1.ttf|../fonts/dej
 
 %build
 make PREFIX=%{_prefix} HIGHSCOREDIR=%{_localstatedir}/games \
-	%{?_smp_mflags} CC="%{__cxx} %{optflags}"
+	%{?_smp_mflags} CXX="%{__cxx}" CXXFLAGS="%{optflags}"
 # .desktop file 
 cat <<EOF > %{name}.desktop
 [Desktop Entry]
@@ -63,7 +63,7 @@ make PREFIX=%{_prefix} DESTDIR=%{buildro
 # this will result in empty hiscore table, but it is not such a big deal
 mkdir -p %{buildroot}%{_localstatedir}/games
 touch %{buildroot}%{_localstatedir}/games/%{name}.sco
-# add icon and .destkop file
+# add icon and .desktop file
 mkdir -p -m 0755 %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
 convert data/abicon.bmp %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/vodovod.xpm
 desktop-file-install --vendor="fedora" \
@@ -100,6 +100,9 @@ fi
 
 
 %changelog
+* Thu May  7 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.10r19-5
+- Build with $RPM_OPT_FLAGS.
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.10r19-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list