From 52a0adad04d67555a50ab58662735039f438c7e0 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Wed, 29 Apr 2015 16:46:53 +0200 Subject: [PATCH] CLOUDSTACK-8402: EL7 rpms should depend on openjdk7 Depend on java-1.7.0-openjdk for EL7 rpms as agent fails with openjdk8. This fix needs to be reverted/removed to use openjdk8 once we start supporting it. Signed-off-by: Rohit Yadav --- packaging/centos7/cloud.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/centos7/cloud.spec b/packaging/centos7/cloud.spec index ce1b6b845a0..2037cf19aa3 100644 --- a/packaging/centos7/cloud.spec +++ b/packaging/centos7/cloud.spec @@ -60,7 +60,7 @@ intelligent IaaS cloud implementation. %package management Summary: CloudStack management server UI Requires: tomcat => 7.0 -Requires: java => 1.7.0 +Requires: java-1.7.0-openjdk Requires: python Requires: bash Requires: bzip2 @@ -99,7 +99,7 @@ The Apache CloudStack files shared between agent and management server %package agent Summary: CloudStack Agent for KVM hypervisors Requires: openssh-clients -Requires: java => 1.7.0 +Requires: java-1.7.0-openjdk Requires: %{name}-common = %{_ver} Requires: libvirt Requires: bridge-utils @@ -134,7 +134,7 @@ The CloudStack baremetal agent %package usage Summary: CloudStack Usage calculation server -Requires: java => 1.7.0 +Requires: java-1.7.0-openjdk Requires: jsvc Requires: jakarta-commons-daemon Requires: jakarta-commons-daemon-jsvc