From ca568ec5b548587f1ee3174d5be155ab9a215af2 Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Mon, 5 Nov 2012 15:31:48 -0500 Subject: [PATCH] Disable SAML2 on RHEL5 - its glib2 is prehistoric --- packaging/rhel/sogo.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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