diff --git a/packaging/rhel/sogo.spec b/packaging/rhel/sogo.spec index d4ade08a2..e43476311 100644 --- a/packaging/rhel/sogo.spec +++ b/packaging/rhel/sogo.spec @@ -28,6 +28,10 @@ BuildRequires: gcc-objc gnustep-base gnustep-make sope%{sope_major_version}%{so %{?el6:Requires: libcurl} %{?el6:BuildRequires: libcurl-devel} +# saml is enabled everywhere except on el5 since its glib2 is prehistoric +%define saml2_cfg_opts "--enable-saml2" +%{?el5:%define saml2_cfg_opts ""} + %description SOGo is a groupware server built around OpenGroupware.org (OGo) and the SOPE application server. It focuses on scalability. @@ -146,7 +150,7 @@ rm -fr ${RPM_BUILD_ROOT} # ****************************** build ******************************** %build . /usr/share/GNUstep/Makefiles/GNUstep.sh -./configure --enable-saml2 +./configure %saml2_cfg_opts case %{_target_platform} in ppc64-*) @@ -322,6 +326,9 @@ fi # ********************************* changelog ************************* %changelog +* Mon Nov 05 2012 Jean Raby +- Disable saml2 on rhel5 - glib2 too old + * Fri Nov 02 2012 Jean Raby - Enable saml2