summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glpi-fusioninventory.spec4
1 files changed, 4 insertions, 0 deletions
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