fix(packaging): fixed centos 7 (saml) and centos 8 builds
parent
0c47b639b2
commit
47d01326c9
|
@ -50,9 +50,12 @@ BuildRequires: gcc-objc gnustep-base gnustep-make sope%{sope_major_version}%{so
|
|||
# saml is enabled everywhere except on el5 since its glib2 is prehistoric
|
||||
%define saml2_cfg_opts "--enable-saml2"
|
||||
%{?el5:%define saml2_cfg_opts ""}
|
||||
%{?el7:%define saml2_cfg_opts ""}
|
||||
%{?el6:Requires: lasso}
|
||||
%{?el6:BuildRequires: lasso-devel}
|
||||
%{?el7:Requires: lasso}
|
||||
%{?el7:BuildRequires: lasso-devel}
|
||||
%{?el8:Requires: lasso}
|
||||
%{?el8:BuildRequires: lasso-devel}
|
||||
|
||||
%description
|
||||
SOGo is a groupware server built around OpenGroupware.org (OGo) and
|
||||
|
@ -182,7 +185,7 @@ rm -fr ${RPM_BUILD_ROOT}
|
|||
|
||||
# ****************************** build ********************************
|
||||
%build
|
||||
%if 0%{?el7}
|
||||
%if 0%{?rhel} >= 7
|
||||
. /usr/lib64/GNUstep/Makefiles/GNUstep.sh
|
||||
%else
|
||||
. /usr/share/GNUstep/Makefiles/GNUstep.sh
|
||||
|
|
Loading…
Reference in New Issue