Generate 1.8 level bytecode to avoid breaking dependent packages that require
Java 8
This commit is contained in:
parent
a3c2f0226b
commit
5fdc6912e3
@ -1,7 +1,7 @@
|
|||||||
Name: aopalliance
|
Name: aopalliance
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 22%{?dist}
|
Release: 23%{?dist}
|
||||||
Summary: Java/J2EE AOP standards
|
Summary: Java/J2EE AOP standards
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: http://aopalliance.sourceforge.net/
|
URL: http://aopalliance.sourceforge.net/
|
||||||
@ -34,7 +34,7 @@ larger AOP community.
|
|||||||
%build
|
%build
|
||||||
export CLASSPATH=
|
export CLASSPATH=
|
||||||
export OPT_JAR_LIST=:
|
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.
|
# Inject OSGi manifest required by Eclipse.
|
||||||
jar umf %{SOURCE2} build/%{name}.jar
|
jar umf %{SOURCE2} build/%{name}.jar
|
||||||
@ -48,6 +48,10 @@ jar umf %{SOURCE2} build/%{name}.jar
|
|||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 16 2020 Mat Booth <mat.booth@redhat.com> - 0:1.0-23
|
||||||
|
- Generate 1.8 level bytecode to avoid breaking dependent packages that require
|
||||||
|
Java 8
|
||||||
|
|
||||||
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 0:1.0-22
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 0:1.0-22
|
||||||
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user