From 12aad0b21b8ad11e9cdd3cb8b5198223d824a82021b556275b4fa5b60ccf678e Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 21 Mar 2022 15:38:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-ognl?expand=0&rev=5 --- apache-commons-ognl.changes | 5 +++++ apache-commons-ognl.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/apache-commons-ognl.changes b/apache-commons-ognl.changes index 2d14198..141cce3 100644 --- a/apache-commons-ognl.changes +++ b/apache-commons-ognl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 21 15:38:27 UTC 2022 - Fridrich Strba + +- Build with source and target levels 8 + ------------------------------------------------------------------- Tue Nov 3 11:56:57 UTC 2020 - Fridrich Strba diff --git a/apache-commons-ognl.spec b/apache-commons-ognl.spec index 5643cff..ceba860 100644 --- a/apache-commons-ognl.spec +++ b/apache-commons-ognl.spec @@ -1,7 +1,7 @@ # -# spec file for package apache-commons-ognl +# spec file # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ License: Apache-2.0 URL: https://commons.apache.org/proper/commons-ognl/ Source0: %{short_name}-%{git_rev}.tar.xz BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 BuildRequires: maven-local BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) @@ -56,9 +57,9 @@ This package contains the API documentation for %{name}. %build %{mvn_build} -f -- \ %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} - -Dmaven.compiler.release=6 \ + -Dmaven.compiler.release=8 \ %endif - -Dmaven.compiler.source=6 + -Dmaven.compiler.source=8 %install %mvn_install