diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index 1d460a5..4bf4299 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -513,8 +513,7 @@ if [ "x$debug" == "xtrue" ] ; then set -x fi key=java -alternatives \\ - --install %{_bindir}/java $key %{jrebindir -- %{?1}}/java %{priority_for -- %{?1}} \\ +alternatives --install %{_bindir}/java $key %{jrebindir -- %{?1}}/java %{priority_for -- %{?1}} \\ --slave %{_jvmdir}/jre jre %{_jvmdir}/%{sdkdir -- %{?1}} \\ --slave %{_bindir}/%{alt_java_name} %{alt_java_name} %{jrebindir -- %{?1}}/%{alt_java_name} \\ --slave %{_bindir}/jcmd jcmd %{sdkbindir -- %{?1}}/jcmd \\ @@ -580,8 +579,7 @@ if [ "x$debug" == "xtrue" ] ; then set -x fi key=javac -alternatives \\ - --install %{_bindir}/javac $key %{sdkbindir -- %{?1}}/javac %{priority_for -- %{?1}} \\ +alternatives --install %{_bindir}/javac $key %{sdkbindir -- %{?1}}/javac %{priority_for -- %{?1}} \\ --slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdkdir -- %{?1}} \\ --slave %{_bindir}/jlink jlink %{sdkbindir -- %{?1}}/jlink \\ --slave %{_bindir}/jmod jmod %{sdkbindir -- %{?1}}/jmod \\ @@ -2438,6 +2436,7 @@ done - Precompute alternative priorities at build time - Remove extra newlines - Inline .gz for alternatives slave man pages +- Unwrap alternatives --install lines * Tue Oct 29 2024 Troy Dawson - 1:21.0.5.0.11-2.1 - Bump release for October 2024 mass rebuild: