From da4589d4baf16b1bab779df7588fc1a683ad7a27 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Mon, 4 Sep 2017 11:51:04 +0200 Subject: [PATCH] collectd.spec: avoid accidentally picking an ancient/unsupported java version --- contrib/redhat/collectd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index 5181293b..a51c5709 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -483,8 +483,8 @@ the byte- and packet-counters of selected rules and submit them to collectd. Summary: Java plugin for collectd Group: System Environment/Daemons Requires: %{name}%{?_isa} = %{version}-%{release} -BuildRequires: java-devel, jpackage-utils -Requires: java, jpackage-utils +BuildRequires: java-devel >= 1.6, jpackage-utils >= 1.6 +Requires: java >= 1.6, jpackage-utils >= 1.6 %description java This plugin for collectd allows plugins to be written in Java and executed in an embedded JVM. -- 2.30.2