Skip to content
Snippets Groups Projects
Commit 5892b532 authored by Markus Frosch's avatar Markus Frosch
Browse files

Add PHP dependencies

parent 24c3ddb5
No related branches found
No related tags found
No related merge requests found
Pipeline #3940 passed
......@@ -18,9 +18,37 @@ BuildArch: noarch
%global basedir %{_datadir}/icingaweb2/modules/%{module_name}
%if 0%{?fedora} || 0%{?rhel} || 0%{?amzn}
%if 0%{?rhel} == 7
%define php_scl rh-php71
%endif # rhel 7
%if 0%{?rhel} == 6
%define php_scl rh-php70
%endif # rhel 6
%endif # rhel os_family
%if 0%{?php_scl:1}
%define php_scl_prefix %{php_scl}-
%endif
%define php %{?php_scl_prefix}php
Requires: icingaweb2 >= %{icingaweb_min_version}
Requires: icingacli >= %{icingaweb_min_version}
Requires: php-Icinga >= %{icingaweb_min_version}
# TODO: other dependencies
%if 0%{?suse_version}
Requires: %{php}-pcntl
Requires: %{php}-posix
Requires: %{php}-soap
Requires: %{php}-sockets
%else # suse_version
# RedHat
Requires: %{php}-cli
Requires: %{php}-process
Requires: %{php}-pcntl
Requires: %{php}-soap
%endif # suse_version
%description
This module provides React as a third-party library for other Icinga Web
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment