From 5fd92f9c5d332c47c1d7584dcffc24159057f34b Mon Sep 17 00:00:00 2001 From: Andrew Hughes Date: Sun, 14 Apr 2024 21:59:25 +0100 Subject: [PATCH] Install alt-java man page from the misc tarball as it is no longer in the JDK image Related: RHEL-30946 --- java-21-openjdk.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index 07e54c9..8f00192 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -2179,6 +2179,8 @@ install -D -p -m 755 ${miscdir}/%{alt_java_name} $RPM_BUILD_ROOT%{jrebindir -- $ ln -sf %{sdkdir -- $suffix} %{jrelnk -- $suffix} popd + # Copy alt-java man page into image so it gets installed with the others + cp -a ${miscdir}/%{alt_java_name}.1 ${jdk_image}/man/man1 # Install man pages install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1 pushd ${jdk_image} @@ -2493,7 +2495,7 @@ cjc.mainProgram(args) - Related: RHEL-30946 * Sun Apr 14 2024 Andrew Hughes - 1:21.0.3.0.1-0.2.ea -- rebuilt +- Install alt-java man page from the misc tarball as it is no longer in the JDK image - Related: RHEL-30946 * Sun Apr 14 2024 Andrew Hughes - 1:21.0.3.0.1-0.1.ea