diff --git a/java-1_8_0-openj9.changes b/java-1_8_0-openj9.changes index 189c45c..e0aac0c 100644 --- a/java-1_8_0-openj9.changes +++ b/java-1_8_0-openj9.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 15 09:07:59 UTC 2020 - Fridrich Strba + +- The pack200 and unpack200 alternatives should be slaves of java + and not of javac, since they are part of JRE. + ------------------------------------------------------------------- Mon Jan 27 11:50:27 UTC 2020 - Fridrich Strba diff --git a/java-1_8_0-openj9.spec b/java-1_8_0-openj9.spec index 38f2d6e..2b425d8 100644 --- a/java-1_8_0-openj9.spec +++ b/java-1_8_0-openj9.spec @@ -665,7 +665,7 @@ find %{buildroot}%{_jvmdir}/%{sdkdir}/demo \ %post headless ext=.gz -update-alternatives \ +update-alternatives --force \ --install %{_bindir}/java java %{jrebindir}/java %{priority} \ --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ --slave %{_jvmjardir}/jre jre_exports %{_jvmjardir}/%{jrelnk} \ @@ -676,6 +676,8 @@ update-alternatives \ --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \ --slave %{_bindir}/servertool servertool %{jrebindir}/servertool \ --slave %{_bindir}/tnameserv tnameserv %{jrebindir}/tnameserv \ + --slave %{_bindir}/pack200 pack200 %{jrebindir}/pack200 \ + --slave %{_bindir}/unpack200 unpack200 %{jrebindir}/unpack200 \ --slave %{_mandir}/man1/java.1$ext java.1$ext \ %{_mandir}/man1/java-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \ @@ -758,8 +760,6 @@ update-alternatives \ --slave %{_bindir}/javah javah %{sdkbindir}/javah \ --slave %{_bindir}/javap javap %{sdkbindir}/javap \ --slave %{_bindir}/jconsole jconsole %{sdkbindir}/jconsole \ - --slave %{_bindir}/pack200 pack200 %{sdkbindir}/pack200 \ - --slave %{_bindir}/unpack200 unpack200 %{sdkbindir}/unpack200 \ --slave %{_bindir}/jdb jdb %{sdkbindir}/jdb \ --slave %{_bindir}/jmap jmap %{sdkbindir}/jmap \ --slave %{_bindir}/jps jps %{sdkbindir}/jps \