[AntTweakBar] Use the RPM_OPT_FLAGS in building on newer Fedora setups.

Sean Middleditch elanthis at fedoraproject.org
Wed Jun 15 21:51:00 UTC 2011


commit f6941c374d819a99583e631ceea50f6e6d0e99a4
Author: Sean Middleditch <sean at middleditch.us>
Date:   Wed Jun 15 14:50:46 2011 -0700

    Use the RPM_OPT_FLAGS in building on newer Fedora setups.

 AntTweakBar.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/AntTweakBar.spec b/AntTweakBar.spec
index 466f196..fcfba8a 100644
--- a/AntTweakBar.spec
+++ b/AntTweakBar.spec
@@ -1,6 +1,6 @@
 Name:		AntTweakBar
 Version:	1.14
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	GUI library for videogame property editing UIs
 
 Group:		Applications/Internet
@@ -49,7 +49,7 @@ find Readme.txt License.txt src examples include -type f -print0 | xargs -0 chmo
 
 %build
 cd src
-make %{?_smp_mflags} FEDORA_CXXFLAGS="%{optflags}"
+make %{?_smp_mflags} CXXCFG="%{optflags}"
 
 %install
 rm -rf "%{buildroot}"
@@ -83,6 +83,9 @@ rm -rf "%{buildroot}"
 %postun -p /sbin/ldconfig
 
 %changelog
+* Sun Jun 11 2011 Sean Middleditch <sean at middleditch.us> - 1.14-2
+- Use the RPM_OPT_FLAGS in building on newer Fedora setups.
+
 * Sun Jun 11 2011 Sean Middleditch <sean at middleditch.us> - 1.14-1
 - Updated to upsteam 1.14 release.
 - Dropped upstream patches.


More information about the scm-commits mailing list