diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index be5382c..ea60285 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -694,7 +694,6 @@ if [ "x$debug" == "xtrue" ] ; then fi alternatives --install %{_javadocdir}/java-%{origin}.zip javadoczip_%{origin} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}.zip %{priority_for -- %{?1}} alternatives --install %{_javadocdir}/java-%{javaver}.zip javadoczip_%{javaver} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}.zip %{priority_for -- %{?1}} -alternatives --install %{_javadocdir}/java-%{javaver}-%{origin}.zip javadoczip_%{javaver}_%{origin} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}.zip %{priority_for -- %{?1}} # Weird legacy filename for backwards-compatibility alternatives --install %{_javadocdir}/java-zip javadoczip %{_javadocdir}/%{uniquejavadocdir -- %{?1}}.zip %{priority_for -- %{?1}} } @@ -708,7 +707,6 @@ then alternatives --remove javadoczip %{_javadocdir}/%{uniquejavadocdir -- %{?1}}.zip alternatives --remove javadoczip_%{origin} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}.zip alternatives --remove javadoczip_%{javaver} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}.zip - alternatives --remove javadoczip_%{javaver}_%{origin} %{_javadocdir}/%{uniquejavadocdir -- %{?1}}.zip fi } @@ -2375,6 +2373,7 @@ done - Remove full version from uniquesuffix - 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 - Resolves: RHEL-71920 * Tue Oct 29 2024 Troy Dawson - 1:21.0.5.0.11-2.1