Set explicit Java compiler source/target levels to 1.7
This commit is contained in:
parent
87339eb8cb
commit
f564528e06
@ -2,7 +2,7 @@
|
||||
|
||||
Name: osgi-annotation
|
||||
Version: 8.0.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Annotations for use in compiling OSGi bundles
|
||||
License: ASL 2.0
|
||||
URL: https://www.osgi.org
|
||||
@ -62,7 +62,7 @@ cp -p %{SOURCE1} pom.xml
|
||||
%mvn_alias org.osgi:osgi.annotation org.osgi:org.osgi.annotation
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
%mvn_build -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
@ -74,6 +74,9 @@ cp -p %{SOURCE1} pom.xml
|
||||
%license META-INF/LICENSE META-INF/NOTICE
|
||||
|
||||
%changelog
|
||||
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.0.1-2
|
||||
- Set explicit Java compiler source/target levels to 1.7
|
||||
|
||||
* Wed Oct 13 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 8.0.1-1
|
||||
- Update to upstream version 8.0.1
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user