130 |
|
|
131 |
Name: java-%{javaver}-%{origin} |
Name: java-%{javaver}-%{origin} |
132 |
Version: %{javaver}.%{updatever} |
Version: %{javaver}.%{updatever} |
133 |
Release: %mkrel 2.%{buildver}.2 |
Release: %mkrel 2.%{buildver}.3 |
134 |
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons, |
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons, |
135 |
# and this change was brought into RHEL-4. java-1.5.0-ibm packages |
# and this change was brought into RHEL-4. java-1.5.0-ibm packages |
136 |
# also included the epoch in their virtual provides. This created a |
# also included the epoch in their virtual provides. This created a |
768 |
# FIXME: identical binaries are copied, not linked. This needs to be |
# FIXME: identical binaries are copied, not linked. This needs to be |
769 |
# fixed upstream. |
# fixed upstream. |
770 |
%post headless |
%post headless |
771 |
ext=.gz |
ext=.xz |
772 |
alternatives \ |
alternatives \ |
773 |
--install %{_bindir}/java java %{jrebindir}/java %{priority} \ |
--install %{_bindir}/java java %{jrebindir}/java %{priority} \ |
774 |
--slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ |
--slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ |
843 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
844 |
|
|
845 |
%post devel |
%post devel |
846 |
ext=.gz |
ext=.xz |
847 |
alternatives \ |
alternatives \ |
848 |
--install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \ |
--install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \ |
849 |
--slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \ |
--slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \ |