From 86b3bfa62b6c60498794298ea88ec3834f582f6c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 2 Nov 2018 16:33:24 +0100 Subject: minor --- glpi-fusioninventory.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glpi-fusioninventory.spec b/glpi-fusioninventory.spec index 7bbe100..da62b28 100644 --- a/glpi-fusioninventory.spec +++ b/glpi-fusioninventory.spec @@ -48,8 +48,12 @@ Requires: php-spl Requires: php-xml Requires: php-zip Requires: php-zlib +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +Requires: (glpi >= %{glpi_min} with glpi < %{glpi_max}) +%else Requires: glpi >= %{glpi_min} Requires: glpi < %{glpi_max} +%endif %description -- cgit