[evolution-ews] Add $RPM_OPT_FLAGS to $CFLAGS

Matthew Barnes mbarnes at fedoraproject.org
Sun Dec 1 14:11:17 UTC 2013


commit 97b3806144f117aa7f7382d84de2104a3f6ec52d
Author: Matthew Barnes <mbarnes at redhat.com>
Date:   Sun Dec 1 09:10:43 2013 -0500

    Add $RPM_OPT_FLAGS to $CFLAGS

 evolution-ews.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/evolution-ews.spec b/evolution-ews.spec
index 62a1859..4804c46 100644
--- a/evolution-ews.spec
+++ b/evolution-ews.spec
@@ -3,7 +3,7 @@
 
 Name: evolution-ews
 Version: 3.11.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Applications/Productivity
 Summary: Evolution extension for Exchange Web Services
 License: LGPLv2
@@ -31,7 +31,7 @@ versions 2007 and later, through its Exchange Web Services (EWS) interface.
 
 %build
 
-export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
+export CFLAGS="$RPM_OPT_FLAGS -Wno-deprecated-declarations"
 %configure
 make %{?_smp_mflags}
 
@@ -66,6 +66,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/evolution/%{evo_base_version}/modules/*.la
 %{_datadir}/evolution/%{evo_base_version}/errors/module-ews-configuration.error
 
 %changelog
+* Sun Dec 01 2013 Matthew Barnes <mbarnes at redhat.com> - 3.11.2-3
+- Add $RPM_OPT_FLAGS to $CFLAGS (RH bug #1035930)
+
 * 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