From de27a4bcd1fa71c5e981188729ba07dc395b5c6d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 30 Jan 2020 11:51:31 +0100 Subject: use range dep. --- glpi-data-injection.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/glpi-data-injection.spec b/glpi-data-injection.spec index f4e6516..057195d 100644 --- a/glpi-data-injection.spec +++ b/glpi-data-injection.spec @@ -10,7 +10,7 @@ Name: glpi-data-injection Version: 2.6.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Plugin for importing data into GLPI Summary(fr): Extension pour importer des données dans GLPI @@ -21,8 +21,12 @@ Source0: https://github.com/pluginsGLPI/datainjection/releases/download/% BuildArch: noarch +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +Requires: (glpi >= 9.3 with glpi < 9.4) +%else Requires: glpi >= 9.3 Requires: glpi < 9.4 +%endif # This plugin have been renamed Provides: glpi-%{pluginname} = %{version}-%{release} @@ -108,6 +112,9 @@ done | tee %{name}.lang %changelog +* Thu Aug 29 2019 Remi Collet - 2.6.4-2 +- use range dependencies + * Fri Oct 26 2018 Remi Collet - 2.6.4-1 - update to 2.6.4 -- cgit