Add $RPM_OPT_FLAGS to $CFLAGS

This commit is contained in:
Matthew Barnes 2013-12-01 09:10:43 -05:00
parent d310cddf47
commit 97b3806144

View File

@ -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@redhat.com> - 3.11.2-3
- Add $RPM_OPT_FLAGS to $CFLAGS (RH bug #1035930)
* Thu Nov 21 2013 Milan Crha <mcrha@redhat.com> - 3.11.2-2
- Rebuild for new libical (RH bug #1023020)