Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-17645

Incorrect 'required' metadata for jdks of eap7-wildfly rpm package on RHEL8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 7.3.0.GA
    • 7.3.0.Beta
    • RPM
    • None

      There is wrong 'requires' condition in eap7-wildfly package for EAP7.3.0.Beta release on RHEL8:

       rpm --query --requires eap7-wildfly
      (java >= 1:1.8 or java11)
      /bin/sh
      /bin/sh
      /bin/sh
      /bin/sh
      /bin/sh
      config(eap7-wildfly) = 0:7.3.0-5.Beta_redhat_00001.1.el8eap
      eap7-runtime
      eap7-runtime
      eap7-wildfly-modules
      rpmlib(CompressedFileNames) <= 3.0.4-1
      rpmlib(FileDigests) <= 4.6.0-1
      rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      rpmlib(PayloadIsXz) <= 5.2-1
      rpmlib(RichDependencies) <= 4.12.0-1
      shadow-utils
      systemd-units
      systemd-units
      systemd-units
      

      See 'java11' part - this is wrong as JDK11 packages provides identifier is 'java-11' actually. Also, since EAP7.2.1 we've been using java version in this condition:

      (java >= 1:1.8 or java-11 >= 1:11)
      

      I believe we should keep this consistent. Also, if I don't miss anything, with current condition, installation of eap7-wildfly package will always install JDK8 on the system as a required dependency, even in case where JDK11 would be normally sufficient.

              permaine Permaine Cheung
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: