From 5fdc6912e39fe15fe55cedcc6392847f773d254c Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Thu, 16 Jul 2020 13:50:55 +0100 Subject: [PATCH] Generate 1.8 level bytecode to avoid breaking dependent packages that require Java 8 --- aopalliance.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/aopalliance.spec b/aopalliance.spec index 7a841c2..399bad8 100644 --- a/aopalliance.spec +++ b/aopalliance.spec @@ -1,7 +1,7 @@ Name: aopalliance Epoch: 0 Version: 1.0 -Release: 22%{?dist} +Release: 23%{?dist} Summary: Java/J2EE AOP standards License: Public Domain URL: http://aopalliance.sourceforge.net/ @@ -34,7 +34,7 @@ larger AOP community. %build export CLASSPATH= export OPT_JAR_LIST=: -%{ant} -Dbuild.sysclasspath=only jar javadoc +%{ant} -Dbuild.sysclasspath=only jar javadoc -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 # Inject OSGi manifest required by Eclipse. jar umf %{SOURCE2} build/%{name}.jar @@ -48,6 +48,10 @@ jar umf %{SOURCE2} build/%{name}.jar %files -f .mfiles %changelog +* Thu Jul 16 2020 Mat Booth - 0:1.0-23 +- Generate 1.8 level bytecode to avoid breaking dependent packages that require + Java 8 + * Fri Jul 10 2020 Jiri Vanek - 0:1.0-22 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11