Disable SAML2 on RHEL5 - its glib2 is prehistoric

pull/7/head
Jean Raby 2012-11-05 15:31:48 -05:00
parent 0a4809e2be
commit ca568ec5b5
1 changed files with 8 additions and 1 deletions

View File

@ -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 <jraby@inverse.ca>
- Disable saml2 on rhel5 - glib2 too old
* Fri Nov 02 2012 Jean Raby <jraby@inverse.ca>
- Enable saml2