From 7d7e64ca4bc351985f0f9ab84fcae18d2231826b Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 2 Nov 2021 16:33:36 +0100 Subject: [PATCH] Set explicit Java compiler source/target levels to 1.7 --- opentest4j.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/opentest4j.spec b/opentest4j.spec index 9f04ef9..9e11dcf 100644 --- a/opentest4j.spec +++ b/opentest4j.spec @@ -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 - 1.2.0-8 +- Set explicit Java compiler source/target levels to 1.7 + * Thu Jul 22 2021 Fedora Release Engineering - 1.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild