summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-11-02 16:33:24 +0100
committerRemi Collet <remi@remirepo.net>2018-11-02 16:33:24 +0100
commit86b3bfa62b6c60498794298ea88ec3834f582f6c (patch)
tree5f582dd626651be8e8180227cf6fde6db0f649a9
parent02e7b58196ba7dc0f76a7a1e974fde2638083446 (diff)
minor
-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