Projects
Kolab:16:Testing
kolab-freebusy
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
kolab-freebusy.spec
Changed
@@ -35,7 +35,9 @@ BuildArch: noarch +%if 0%{?rhel} < 8 || 0%{?fedora} BuildRequires: composer +%endif %if 0%{?fedora} # fix issue: # have choice for php-composer(justinrainbow/json-schema) >= 2.0 needed by composer: php-justinrainbow-json-schema4 php-justinrainbow-json-schema @@ -43,8 +45,10 @@ BuildRequires: php-justinrainbow-json-schema4 %endif +%if 0%{?rhel} < 8 || 0%{?fedora} BuildRequires: php-Monolog BuildRequires: php-sabre-dav >= 2.1.3 +%endif BuildRequires: roundcubemail(core) BuildRequires: roundcubemail-plugins-kolab @@ -58,10 +62,12 @@ Requires: kolab-utils Requires: logrotate +%if 0%{?rhel} < 8 || 0%{?fedora} Requires: php-ldap Requires: php-Monolog Requires: php-kolab-net-ldap3 Requires: php-sabre-dav >= 2.1.3 +%endif Requires: roundcubemail(core) Requires: roundcubemail-plugins-kolab @@ -78,6 +84,7 @@ %setup -q %build +%if 0%{?rhel} < 8 || 0%{?fedora} rm -rf composer.json mv composer.json-dist composer.json mkdir -p $HOME/.composer/ @@ -87,6 +94,7 @@ export USE_ZEND_ALLOC=0 %endif composer -vvv dumpautoload --optimize +%endif %install mkdir -p \ @@ -114,7 +122,9 @@ popd cp -a public_html %{buildroot}/%{_datadir}/%{name}/public_html +%if 0%{?rhel} < 8 cp -a vendor %{buildroot}/%{_datadir}/%{name}/vendor +%endif cp -a config/config.ini.sample %{buildroot}/%{_sysconfdir}/%{name}/config.ini
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.