Re: EPEL package and Java 11 requirement.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 4, 2021 at 3:06 PM Stefan Bluhm
<fedoraproject.org@xxxxxxxxxxxx> wrote:
>
> Hello,
>
> can you please give me a direction on how to handle a Java 11 package build on RHEL8 for EPEL8?
>
> My issue: I am trying to build jaxb-api. The build works fine:
> https://src.fedoraproject.org/rpms/jaxb-api/blob/rawhide/f/jaxb-api.spec
> In addition to the original file, I added:
>
> BuildRequires:  java-11-openjdk-devel
>
> and
>
> %if 0%{?rhel}
> export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
> %endif
>
> Now the generated rpm adds this requirement line:
>
> Requires: java-headless >= 1:9
>
> This is something that RHEL cannot fulfill as it would be called java-11-headless (adding the next higher available version).
>
> How do I remove/omit the generation of the 1:9 requirement?
>

java-11-openjdk-headless provides "java-headless = 1:11", so it should
work anyway. And that's in RHEL 8.



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux