Set explicit Java compiler source/target levels to 1.7

This commit is contained in:
Mikolaj Izdebski 2021-11-02 16:33:36 +01:00
parent c4b0aadf5c
commit 7d7e64ca4b

View File

@ -2,7 +2,7 @@
Name: opentest4j
Version: 1.2.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Open Test Alliance for the JVM
License: ASL 2.0
URL: https://github.com/ota4j-team/opentest4j
@ -75,7 +75,7 @@ cp -p %{SOURCE100} pom.xml
sed -i -e '/org\.apache\.commons\.codec/d' src/test/java/org/opentest4j/AssertionFailedErrorTests.java
%build
%mvn_build
%mvn_build -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
%install
%mvn_install
@ -88,6 +88,9 @@ sed -i -e '/org\.apache\.commons\.codec/d' src/test/java/org/opentest4j/Assertio
%license LICENSE
%changelog
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.0-8
- Set explicit Java compiler source/target levels to 1.7
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild