mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 12:28:51 +00:00
Removed dependancies when openchange is disabled
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# We disable OpenChange builds on el5 since it's prehistoric
|
||||
%define enable_openchange 1
|
||||
%{?el5:%define enable_openchange 0}
|
||||
|
||||
%{!?sogo_major_version: %global sogo_major_version %(/bin/echo %{sogo_version} | /bin/cut -f 1 -d .)}
|
||||
%if %{sogo_major_version} >= 2
|
||||
%if %enable_openchange
|
||||
%global oc_build_depends samba4 openchange
|
||||
%endif
|
||||
|
||||
@@ -36,10 +40,6 @@ BuildRequires: gcc-objc gnustep-base gnustep-make sope%{sope_major_version}%{so
|
||||
%{?!el5:Requires: lasso}
|
||||
%{?!el5:BuildRequires: lasso-devel}
|
||||
|
||||
# We disable OpenChange builds on el5 since it's prehistoric
|
||||
%define enable_openchange 1
|
||||
%{?el5:%define enable_openchange 0}
|
||||
|
||||
%description
|
||||
SOGo is a groupware server built around OpenGroupware.org (OGo) and
|
||||
the SOPE application server. It focuses on scalability.
|
||||
|
||||
Reference in New Issue
Block a user