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