- Fix ecj symlink in /usr/share/java (rh#158734).

This commit is contained in:
Andrew Overholt 2005-05-25 14:49:52 +00:00
parent 7979e9d988
commit aff92a55ac

View File

@ -23,7 +23,7 @@ ExclusiveArch: %{ix86} x86_64 ppc
Summary: %{pkg_summary}
Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro}_fc
Release: 0.M7.5
Release: 0.M7.6
License: EPL
Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/
@ -820,10 +820,11 @@ ln -sf %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_*/lib/ant-trax.jar
## END TOMCAT4 ##
ln -sf %{_javadir}/junit.jar plugins/org.junit_*/junit.jar
# Copy org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}.jar to %{_datadir}/java for eclipse-ecj
# Symlink org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}.jar in
# %{_datadir}/java/eclipse-ecj.jar for java-1.4.2-gcj-compat's "java"
mkdir -p $RPM_BUILD_ROOT%{_datadir}/java
ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}.jar \
$RPM_BUILD_ROOT%{_datadir}/java/org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}.jar
$RPM_BUILD_ROOT%{_datadir}/java/eclipse-ecj.jar
%if %{gcj_support}
# Create the gcj dbs for libswt, ecj, platform, jdt, and pde
@ -1103,6 +1104,9 @@ fi
%{_datadir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.*_3.1.0
%changelog
* Wed May 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M7.6
- Fix ecj symlink in /usr/share/java (rh#158734).
* Sun May 22 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M7.4
- Remove compilation of jdt.ui jar.so on ppc.