From 6c78dbb2a0a5c2aa982699c0b26b95e634f82a48 Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Fri, 29 Nov 2019 12:33:57 +0100 Subject: [PATCH] Add dependency to php-json on newer RedHat releases --- icingaweb2.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/icingaweb2.spec b/icingaweb2.spec index 2492708..5e288ce 100644 --- a/icingaweb2.spec +++ b/icingaweb2.spec @@ -119,6 +119,9 @@ Group: Development/Libraries Requires: %{php_common} >= %{php_version} Requires: %{php}-gd %{php}-intl %{php}-mbstring %{?rhel:Requires: %{php}-pdo %{php}-xml} +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 +Requires: %{php}-json +%endif rhel >= 8 || fedora >= 30 Requires: %{name}-vendor-zf1 = %{version}-%{release} %{?amzn:Requires: %{php}-pecl-imagick} %{?fedora:Requires: php-pecl-imagick}