[pyclutter] Build with $RPM_OPT_FLAGS again (lost in 1.3.2-9).

Ville Skyttä scop at fedoraproject.org
Sat Mar 17 20:13:39 UTC 2012


commit e6fd30612379063667e539e69168b21ea9c6b5a5
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Mar 17 22:12:07 2012 +0200

    Build with $RPM_OPT_FLAGS again (lost in 1.3.2-9).

 pyclutter.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/pyclutter.spec b/pyclutter.spec
index b510884..7a2528d 100644
--- a/pyclutter.spec
+++ b/pyclutter.spec
@@ -3,7 +3,7 @@
 
 Name:           pyclutter
 Version:        1.3.2
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Python modules that allow you to use the Clutter toolkit
 
 Group:          Development/Languages
@@ -37,7 +37,8 @@ Pyclutter
 %patch1 -p1 -b .compat_1.9.14
 
 %build
-%configure --enable-docs CFLAGS=-DCLUTTER_DISABLE_DEPRECATION_WARNINGS
+CFLAGS="$RPM_OPT_FLAGS -DCLUTTER_DISABLE_DEPRECATION_WARNINGS" \
+%configure --enable-docs
 make %{?_smp_mflags} V=1
 
 %install
@@ -59,6 +60,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
 %{_libdir}/pkgconfig/pyclutter-1.0.pc
 
 %changelog
+* Sat Mar 17 2012 Ville Skyttä <ville.skytta at iki.fi> - 1.3.2-11
+- Build with $RPM_OPT_FLAGS again (lost in 1.3.2-9).
+
 * Thu Mar 15 2012 Kalev Lember <kalevlember at gmail.com> - 1.3.2-10
 - Patch to fix build with clutter 1.9.14
 


More information about the scm-commits mailing list