From 381fa9007f77468c73024eae0e3c6aab47a30e4a Mon Sep 17 00:00:00 2001 From: Andrew Hughes Date: Wed, 12 Nov 2025 01:05:18 +0000 Subject: [PATCH] Remove superfluous backslashes that cause two alternative commands to be combined Related: RHEL-126022 --- java-25-openjdk.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java-25-openjdk.spec b/java-25-openjdk.spec index b4ecbb5..668b2de 100644 --- a/java-25-openjdk.spec +++ b/java-25-openjdk.spec @@ -535,7 +535,7 @@ alternatives --install %{_bindir}/java java %{jrebindir -- %{?1}}/java %{priorit alternatives --add-slave java %{jrebindir -- %{?1}}/java \\ %{_mandir}/man1/java.1%{man_comp} java.1%{man_comp} %{_mandir}/man1/java-%{uniquesuffix -- %{?1}}.1%{man_comp} alternatives --add-slave java %{jrebindir -- %{?1}}/java \\ - %{_mandir}/man1/%{alt_java_name}.1%{man_comp} %{alt_java_name}.1%{man_comp} %{_mandir}/man1/%{alt_java_name}-%{uniquesuffix -- %{?1}}.1%{man_comp} \\ + %{_mandir}/man1/%{alt_java_name}.1%{man_comp} %{alt_java_name}.1%{man_comp} %{_mandir}/man1/%{alt_java_name}-%{uniquesuffix -- %{?1}}.1%{man_comp} alternatives --add-slave java %{jrebindir -- %{?1}}/java \\ %{_mandir}/man1/jcmd.1%{man_comp} jcmd.1%{man_comp} %{_mandir}/man1/jcmd-%{uniquesuffix -- %{?1}}.1%{man_comp} alternatives --add-slave java %{jrebindir -- %{?1}}/java \\ @@ -2553,7 +2553,7 @@ exit 0 %endif %changelog -* Mon Nov 10 2025 Andrew Hughes - 1:25.0.1.0.8-1 +* Wed Nov 12 2025 Andrew Hughes - 1:25.0.1.0.8-1 - Create java-25-openjdk package based on java-21-openjdk - Update to jdk-25.0.1+8 (GA) - Update release notes with features of JDK 22, 23, 24 & 25 @@ -2582,5 +2582,6 @@ exit 0 - Support jnativescan added by JDK-8317611: "Add a tool like jdeprscan to find usage of restricted methods" - Add recent native libraries to _privatelibs (libjsvml.so, libsimdsort.so, libsyslookup.so) - Support libsleef on AArch64 & RISC-V added by JDK-8329816, JDK-8320500 (RISC-V) & JDK-8312425 (AArch64) +- Remove superfluous backslashes that cause two alternative commands to be combined - Sync the copy of the portable specfile with the latest update - Resolves: RHEL-126022