- Add patch to generate 1.6 bytecode on a 1.7 VM (kudos to Olivier Thomann)

- Resolves: rhbz#288991.
This commit is contained in:
Andrew Overholt 2007-09-26 19:40:49 +00:00
parent ea9e787ea0
commit 8e258fb0da
1 changed files with 13 additions and 1 deletions

View File

@ -23,7 +23,7 @@ Epoch: 1
Summary: An open, extensible IDE
Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro}
Release: 20%{?dist}
Release: 21%{?dist}
License: Eclipse Public License
Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/
@ -71,6 +71,9 @@ Patch24: %{name}-add-ppc64-sparc64-s390-s390x.patch
Patch25: %{name}-launcher-double-free-bug.patch
#FIXME: file a bug upstream
Patch26: %{name}-launcher-fix-java-home.patch
# On a 1.7 VM, generate 1.6-level bytecode
# https://bugzilla.redhat.com/show_bug.cgi?id=288991
Patch27: %{name}-17vmgenerate16bytecode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ant
@ -350,6 +353,10 @@ sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
zip -q -9 -r ../../plugins/org.eclipse.platform/launchersrc.zip library
popd
pushd plugins/org.eclipse.jdt.core
%patch27
popd
# use our system-installed javadocs
sed --in-place "s|http://java.sun.com/j2se/1.4.2/docs/api|%{_datadir}/javadoc/java|" \
plugins/org.eclipse.platform.doc.isv/platformOptions.txt
@ -1556,6 +1563,11 @@ fi
%endif
%changelog
* Wed Sep 26 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-21
- Add patch to generate 1.6 bytecode on a 1.7 VM (kudos to Olivier
Thomann)
- Resolves: rhbz#288991.
* Tue Sep 18 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-20
- Move requirements on subclipse, cdt, mylyn, etc. to comps.xml.