Set explicit Java compiler source/target levels to 1.7

This commit is contained in:
Mikolaj Izdebski 2021-11-02 16:16:22 +01:00
parent 7229b333f2
commit a60713ea4e

View File

@ -4,7 +4,7 @@
Name: cglib Name: cglib
Version: 3.3.0 Version: 3.3.0
Release: 4%{?dist} Release: 5%{?dist}
Summary: Code Generation Library for Java Summary: Code Generation Library for Java
# ASM MethodVisitor is based on ASM code and therefore # ASM MethodVisitor is based on ASM code and therefore
# BSD-licensed. Everything else is ASL 2.0. # BSD-licensed. Everything else is ASL 2.0.
@ -69,7 +69,7 @@ Documentation for the cglib code generation library.
%build %build
# 5 tests fail with OpenJDK 11 # 5 tests fail with OpenJDK 11
# Forwarded upstream: https://github.com/cglib/cglib/issues/119 # Forwarded upstream: https://github.com/cglib/cglib/issues/119
%mvn_build -f %mvn_build -f -- -Djava.version.source=1.7 -Djava.version.target=1.7
%install %install
%mvn_install %mvn_install
@ -81,6 +81,9 @@ Documentation for the cglib code generation library.
%license LICENSE NOTICE %license LICENSE NOTICE
%changelog %changelog
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-5
- Set explicit Java compiler source/target levels to 1.7
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-4 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild