[evolution-mapi] Add $RPM_OPT_FLAGS to $CFLAGS

Matthew Barnes mbarnes at fedoraproject.org
Sun Dec 1 14:18:39 UTC 2013


commit 7828521659a6e2865e1f8d2cb08c923c21b60b6b
Author: Matthew Barnes <mbarnes at redhat.com>
Date:   Sun Dec 1 09:18:14 2013 -0500

    Add $RPM_OPT_FLAGS to $CFLAGS

 evolution-mapi.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/evolution-mapi.spec b/evolution-mapi.spec
index cd9575f..7fa189d 100644
--- a/evolution-mapi.spec
+++ b/evolution-mapi.spec
@@ -9,7 +9,7 @@
 
 Name: evolution-mapi
 Version: 3.11.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Applications/Productivity
 Summary: Evolution extension for MS Exchange 2007 servers
 License: LGPLv2+
@@ -58,6 +58,8 @@ Development files needed for building things which link against %{name}.
 
 %build
 
+CFLAGS="$RPM_OPT_FLAGS"
+
 # Add stricter build settings here as the source code gets cleaned up.
 # We want to make sure things like compiler warnings and avoiding deprecated
 # functions in the GNOME/GTK+ libraries stay fixed.
@@ -116,6 +118,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/libexchangemapi-1.0.pc
 
 %changelog
+* Mon Dec 01 2013 Matthew Barnes <mbarnes at redhat.com> - 3.11.2-3
+- Add $RPM_OPT_FLAGS to $CFLAGS (RH bug #1035931)
+
 * Thu Nov 21 2013 Milan Crha <mcrha at redhat.com> - 3.11.2-2
 - Rebuild for new libical (RH bug #1023020)
 


More information about the scm-commits mailing list