Unwrap alternatives --install lines
- Unwrap alternatives --install lines - Related: RHEL-68848 The idea with this and the next few patches is that one can use Emacs Occur mode or grep on the command line to list all alternative masters by searching for "alternatives --install".
This commit is contained in:
parent
fb379dff95
commit
938f10155b
@ -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 <tdawson@redhat.com> - 1:21.0.5.0.11-2.1
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
|
Loading…
Reference in New Issue
Block a user