From 0b6ed891fec7ce05c1c36ee714cd0f18a2e9e45f Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 30 Jun 2022 15:39:18 +0200 Subject: [PATCH] Fix php_max_version conflict (cherry picked from commit 078b02496ab6697a890438a2f8af8106585e46c1) --- icingaweb2.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/icingaweb2.spec b/icingaweb2.spec index ff4cd10..fd4f27a 100644 --- a/icingaweb2.spec +++ b/icingaweb2.spec @@ -49,8 +49,8 @@ Requires: %{php}-ldap # minimum required PHP version %define php_version 7.2 -# maximum supported PHP version -%define php_max_version 8.1 +# unsupported PHP version +%define php_unsupported_version 8.2 %if 0%{?suse_version} %define wwwconfigdir %{_sysconfdir}/apache2/conf.d @@ -68,7 +68,7 @@ Requires: %{php}-ldap Requires: %{php_runtime} >= %{php_version} Requires: %{php_common} >= %{php_version} -Conflicts: %{php_runtime} > %{php_max_version} +Conflicts: %{php_runtime} >= %{php_unsupported_version} %if 0%{?suse_version} Requires: apache2 %endif