From aaef016733d0d63aa982f2119d170aef2e20551e Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Mon, 10 Apr 2023 16:56:48 +0200 Subject: [PATCH] Add generated Requires on multiple versions of java-headless --- SOURCES/javapackages-config.json | 2 +- SPECS/javapackages-tools.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SOURCES/javapackages-config.json b/SOURCES/javapackages-config.json index 4b82495..c3c4fdc 100644 --- a/SOURCES/javapackages-config.json +++ b/SOURCES/javapackages-config.json @@ -2,7 +2,7 @@ "maven.req": { "always_generate": [ "javapackages-filesystem", - "(java-headless or java-11-headless)" + "(java-headless or java-17-headless or java-11-headless or java-1.8.0-headless)" ], "java_requires": { "skip": true diff --git a/SPECS/javapackages-tools.spec b/SPECS/javapackages-tools.spec index 17ecdd1..6fa5c61 100644 --- a/SPECS/javapackages-tools.spec +++ b/SPECS/javapackages-tools.spec @@ -24,7 +24,7 @@ Name: javapackages-tools Version: 5.3.1 -Release: 7%{?dist} +Release: 7%{?dist}.alma Summary: Macros and scripts for Java packaging support License: BSD URL: https://github.com/fedora-java/javapackages @@ -199,6 +199,10 @@ install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/java/javapackages-config %{_datadir}/xmvn/conf %changelog +* Mon Apr 10 2023 Andrew Lukoshko - 5.3.1-7.alma +- Add generated Requires on multiple versions of java-headless +- Related: rhbz#2164437 + * Thu Jan 23 2020 Mikolaj Izdebski - 5.3.1-7 - Add OpenJDK 8 toolchain configuration