1
0
Fridrich Strba 2020-04-15 09:26:18 +00:00 committed by Git OBS Bridge
parent bfbb6193d4
commit 925e76f7a8
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 15 09:07:59 UTC 2020 - Fridrich Strba <fstrba@suse.com>
- 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 <fstrba@suse.com> Mon Jan 27 11:50:27 UTC 2020 - Fridrich Strba <fstrba@suse.com>

View File

@ -665,7 +665,7 @@ find %{buildroot}%{_jvmdir}/%{sdkdir}/demo \
%post headless %post headless
ext=.gz ext=.gz
update-alternatives \ update-alternatives --force \
--install %{_bindir}/java java %{jrebindir}/java %{priority} \ --install %{_bindir}/java java %{jrebindir}/java %{priority} \
--slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \
--slave %{_jvmjardir}/jre jre_exports %{_jvmjardir}/%{jrelnk} \ --slave %{_jvmjardir}/jre jre_exports %{_jvmjardir}/%{jrelnk} \
@ -676,6 +676,8 @@ update-alternatives \
--slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \ --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \
--slave %{_bindir}/servertool servertool %{jrebindir}/servertool \ --slave %{_bindir}/servertool servertool %{jrebindir}/servertool \
--slave %{_bindir}/tnameserv tnameserv %{jrebindir}/tnameserv \ --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 \ --slave %{_mandir}/man1/java.1$ext java.1$ext \
%{_mandir}/man1/java-%{sdklnk}.1$ext \ %{_mandir}/man1/java-%{sdklnk}.1$ext \
--slave %{_mandir}/man1/keytool.1$ext keytool.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}/javah javah %{sdkbindir}/javah \
--slave %{_bindir}/javap javap %{sdkbindir}/javap \ --slave %{_bindir}/javap javap %{sdkbindir}/javap \
--slave %{_bindir}/jconsole jconsole %{sdkbindir}/jconsole \ --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}/jdb jdb %{sdkbindir}/jdb \
--slave %{_bindir}/jmap jmap %{sdkbindir}/jmap \ --slave %{_bindir}/jmap jmap %{sdkbindir}/jmap \
--slave %{_bindir}/jps jps %{sdkbindir}/jps \ --slave %{_bindir}/jps jps %{sdkbindir}/jps \