[
https://issues.apache.org/jira/browse/CLOUDSTACK-10287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423189#comment-16423189
]
ASF GitHub Bot commented on CLOUDSTACK-10287:
---------------------------------------------
DaanHoogland closed pull request #2519: CLOUDSTACK-10287 package require open
jdk 1.8
URL: https://github.com/apache/cloudstack/pull/2519
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/packaging/centos7/cloud.spec b/packaging/centos7/cloud.spec
index 0d4aca44b4a..6ed36915ac9 100644
--- a/packaging/centos7/cloud.spec
+++ b/packaging/centos7/cloud.spec
@@ -58,7 +58,7 @@ intelligent IaaS cloud implementation.
%package management
Summary: CloudStack management server UI
-Requires: java => 1.8.0
+Requires: java-1.8.0-openjdk
Requires: apache-commons-daemon-jsvc
Requires: python
Requires: bash
@@ -97,7 +97,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.8.0
+Requires: java-1.8.0-openjdk
Requires: %{name}-common = %{_ver}
Requires: libvirt
Requires: bridge-utils
@@ -130,7 +130,7 @@ The CloudStack baremetal agent
%package usage
Summary: CloudStack Usage calculation server
-Requires: java => 1.8.0
+Requires: java-1.8.0-openjdk
Requires: mysql-connector-java
Group: System Environment/Libraries
%description usage
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Make el7 rpms to depend on OpenJDK8
> -----------------------------------
>
> Key: CLOUDSTACK-10287
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10287
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.11.0.0
> Reporter: Rohit Yadav
> Priority: Major
> Fix For: 4.11.1.0
>
>
> CloudStack 4.11 el7 rpmsĀ install OK on RHEL7 without openjdk8 installed, and
> the management server fails to run. Make changes to the rpm spec file, to
> enforce that openjdk8 is installed/required during package installation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)