From f564528e067bcc4f20555029a273ce241aa784d7 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 2 Nov 2021 16:55:10 +0100 Subject: [PATCH] Set explicit Java compiler source/target levels to 1.7 --- osgi-annotation.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/osgi-annotation.spec b/osgi-annotation.spec index d197630..3d7225e 100644 --- a/osgi-annotation.spec +++ b/osgi-annotation.spec @@ -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 - 8.0.1-2 +- Set explicit Java compiler source/target levels to 1.7 + * Wed Oct 13 2021 Mikolaj Izdebski - 8.0.1-1 - Update to upstream version 8.0.1