From: Marc Fournier Date: Mon, 4 Sep 2017 09:51:04 +0000 (+0200) Subject: collectd.spec: avoid accidentally picking an ancient/unsupported java version X-Git-Tag: collectd-5.6.3~8 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=da4589d4baf16b1bab779df7588fc1a683ad7a27;p=collectd.git collectd.spec: avoid accidentally picking an ancient/unsupported java version --- 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.