From bf763b07ad10d86c7b6ce0d86da042e4e634e460 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Tue, 26 Nov 2024 17:33:49 -0500 Subject: [PATCH] Eliminate javadoc "failed to link ... exists and it is not a symlink" warning - Eliminate javadoc "failed to link [/usr/share/javadoc/java-21-openjdk] exists and it is not a symlink" warning - Related: RHEL-68848 --- java-21-openjdk.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index ea60285..efdc5ea 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -671,7 +671,6 @@ if [ "x$debug" == "xtrue" ] ; then fi alternatives --install %{_javadocdir}/java-%{origin} javadocdir_%{origin} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}/api %{priority_for -- %{?1}} alternatives --install %{_javadocdir}/java-%{javaver} javadocdir_%{javaver} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}/api %{priority_for -- %{?1}} -alternatives --install %{_javadocdir}/java-%{javaver}-%{origin} javadocdir_%{javaver}_%{origin} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}/api %{priority_for -- %{?1}} alternatives --install %{_javadocdir}/java javadocdir %{_javadocdir}/%{uniquejavadocdir -- %{?1}}/api %{priority_for -- %{?1}} } @@ -684,7 +683,6 @@ then alternatives --remove javadocdir %{_javadocdir}/%{uniquejavadocdir -- %{?1}}/api alternatives --remove javadocdir_%{origin} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}/api alternatives --remove javadocdir_%{javaver} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}/api - alternatives --remove javadocdir_%{javaver}_%{origin} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}/api fi } @@ -2374,6 +2372,7 @@ done - Fix classes.jsa and classes_nocoops.jsa file-listed-twice warnings - Eliminate devel "failed to link [/usr/lib/jvm/java-21-openjdk] exists and it is not a symlink" warning - Eliminate javadoc-zip "failed to link [/usr/share/javadoc/java-21-openjdk.zip] exists and it is not a symlink" warning +- Eliminate javadoc "failed to link [/usr/share/javadoc/java-21-openjdk] exists and it is not a symlink" warning - Resolves: RHEL-71920 * Tue Oct 29 2024 Troy Dawson - 1:21.0.5.0.11-2.1