kvolny pushed to vodovod (epel7). "fix bug Bug 499506 - vodovod not built with $RPM_OPT_FLAGS (thanks to Ville (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 13 08:09:10 UTC 2015


>From 5e9460f2e55793015605b45b974c90c998608d0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Voln=C3=BD?= <kvolny at fedoraproject.org>
Date: Tue, 12 May 2009 07:50:05 +0000
Subject: =?UTF-8?q?fix=20bug=20Bug=20499506=20-=20vodovod=20not=20built=20?=
 =?UTF-8?q?with=20$RPM=5FOPT=5FFLAGS=20(thanks=20to=20Ville=20=20=20=20=20?=
 =?UTF-8?q?Skytt=C3=A4)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit


diff --git a/vodovod.spec b/vodovod.spec
index c7f60e4..bb7817f 100644
--- a/vodovod.spec
+++ b/vodovod.spec
@@ -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/dejavu/DejaVuSansMono.ttf|" \
 
 %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=%{buildroot} install
 # 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
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/vodovod.git/commit/?h=epel7&id=5e9460f2e55793015605b45b974c90c998608d0d


More information about the scm-commits mailing list