Commit cff7d895 authored by Johannes Meyer's avatar Johannes Meyer
Browse files

Add missing php extension requirements

parent a2a52691
Pipeline #19236 passed with stages
in 8 minutes and 19 seconds
......@@ -13,10 +13,35 @@ URL:
BuildArch: noarch
# Define php runtime identifier
%if 0%{?fedora} || 0%{?rhel} || 0%{?amzn}
%if 0%{?rhel} == 7
%define php_scl rh-php73
%if 0%{?php_scl:1}
%define php_scl_prefix %{php_scl}-
%define php %{?php_scl_prefix}php
%if 0%{?suse_version}
%define php php
%global basedir %{_datadir}/icinga-php/ipl
Requires: icinga-php-common
# php extension requirements
Requires: %{php}-intl
%{?rhel:Requires: %{php}-pdo}
%{?suse_version:Requires: %{php}-gettext %{php}-json %{php}-openssl}
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
Requires: %{php}-json
This project bundles all Icinga PHP libraries into one
piece and can be integrated as library into Icinga Web 2.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment