Hello Mike,

I thought (!) I read somewhere that this difference between java-headless and 
java-11-headless was intentional (or at least I understood it that way).
Let me open a Bugzilla against Java 11.



How did others tackle this issue in the past/currently though? I can't be the 
first one creating an rpm with an autogenerated java-headless >= 1:9 tag.

Is there a way to disable/remove this autogeneration or force it to be 
something different?
Also I noticed some packages where the headless tag was not generated at all. 
So maybe I could just remove the trigger for that.

I tried removing maven-compiler-plugin from the pom and adding the 
compiler.target=11 line in the build section but that gave the same result.

Thanks and best wishes,

Stefan

----- Ursprüngliche Mail -----
Von: "Mike Rochefort" <mro...@redhat.com>
An: "epel-devel" <epel-devel@lists.fedoraproject.org>
Gesendet: Montag, 4. Oktober 2021 22:57:09
Betreff: [EPEL-devel] Re: EPEL package and Java 11 requirement.

On Mon, Oct 4, 2021 at 3:50 PM Stefan Bluhm
<fedoraproject....@bluhm-de.com> wrote:
>
> it provides "java-11-headless". Not "java-headless". At least not on my 
> machine

Doing my own checks on CentOS Stream 8 and RHEL 8.4, this sounds like a Fedora
change that didn't make its way back to RHEL. Worth opening a Bugzilla
report on?

For posterity, only java-1.8.0 returns when checking for java-headless
on EL8 (latest
versions on RHEL for 1.8 and 11 as of writing).

$ rpm -qp --provides
java-1.8.0-openjdk-headless-1.8.0.302.b08-0.el8_4.x86_64.rpm
/usr/bin/jjs
config(java-1.8.0-openjdk-headless) = 1:1.8.0.302.b08-0.el8_4
java-1.8.0-headless = 1:1.8.0.302.b08-0.el8_4
java-1.8.0-openjdk-headless = 1:1.8.0.302.b08-0.el8_4
java-1.8.0-openjdk-headless(x86-64) = 1:1.8.0.302.b08-0.el8_4
java-headless = 1:1.8.0
java-openjdk-headless = 1:1.8.0.302.b08-0.el8_4
jre-1.8.0-headless = 1:1.8.0.302.b08-0.el8_4
jre-1.8.0-openjdk-headless = 1:1.8.0.302.b08-0.el8_4
jre-headless = 1:1.8.0
jre-openjdk-headless = 1:1.8.0.302.b08-0.el8_4
libjava.so()(64bit)
libjava.so(SUNWprivate_1.1)(64bit)
libjsig.so()(64bit)
libjvm.so()(64bit)
libjvm.so(SUNWprivate_1.1)(64bit)
libverify.so()(64bit)
libverify.so(SUNWprivate_1.1)(64bit)

$ rpm -qp --provides java-11-openjdk-headless-11.0.12.0.7-0.el8_4.x86_64.rpm
config(java-11-openjdk-headless) = 1:11.0.12.0.7-0.el8_4
java-11-headless = 1:11.0.12.0.7-0.el8_4
java-11-openjdk-headless = 1:11.0.12.0.7-0.el8_4
java-11-openjdk-headless(x86-64) = 1:11.0.12.0.7-0.el8_4
jre-11-headless = 1:11.0.12.0.7-0.el8_4
jre-11-openjdk-headless = 1:11.0.12.0.7-0.el8_4

-- 
Mike
_______________________________________________
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure
_______________________________________________
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to