From 5c46db86820cd01d6dce3871458fb8f5b0196d40 Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Mar 23 2020 01:18:18 +0000 Subject: Set compiler release to Java 8 on certain bundles --- diff --git a/compiler-release.patch b/compiler-release.patch new file mode 100644 index 0000000..0d0828d --- /dev/null +++ b/compiler-release.patch @@ -0,0 +1,10 @@ +--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.artifact.repository/pom.xml.orig 2020-03-23 00:19:02.052686148 +0000 ++++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.artifact.repository/pom.xml 2020-03-23 00:19:10.187688146 +0000 +@@ -11,4 +11,7 @@ + org.eclipse.equinox.p2.artifact.repository + 1.3.400-SNAPSHOT + eclipse-plugin ++ ++ 8 ++ + diff --git a/eclipse.spec b/eclipse.spec index 4138822..6e23cd2 100644 --- a/eclipse.spec +++ b/eclipse.spec @@ -42,7 +42,7 @@ Epoch: 1 Summary: An open, extensible IDE Name: eclipse Version: 4.15 -Release: 1%{?dist} +Release: 2%{?dist} License: EPL-2.0 URL: http://www.eclipse.org/ @@ -119,6 +119,8 @@ Patch25: eclipse-patch-out-fileupload-dep.patch # Force a clean on the restart after p2 operations Patch26: force-clean-after-p2-operations.patch +Patch27: compiler-release.patch + # Upstream no longer supports non-64bit arches ExcludeArch: s390 %{arm} %{ix86} @@ -400,6 +402,7 @@ rm -rf rt.equinox.binaries/org.eclipse.equinox.executable/{bin,contributed}/ %patch24 -p1 %patch25 %patch26 -p1 +%patch27 # Optional (unused) multipart support (see patch 25) rm rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/multipart/MultipartSupport{Impl,FactoryImpl,Part}.java @@ -1061,6 +1064,9 @@ echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist} %{_eclipsedir}/plugins/org.eclipse.osgi.util_* %changelog +* Mon Mar 23 2020 Mat Booth - 1:4.15-2 +- Set compiler release to Java 8 on certain bundles + * Sat Mar 21 2020 Mat Booth - 1:4.15-1 - Update to latest upstream release