From ab7cc76d8f7d715bbde017f6f6890c7deea1a60ec23d98ef0197b24b43c668d6 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 26 Oct 2023 11:25:09 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-chainsaw?expand=0&rev=15 --- apache-chainsaw.changes | 5 +++++ apache-chainsaw.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/apache-chainsaw.changes b/apache-chainsaw.changes index 988f1ab..a8960eb 100644 --- a/apache-chainsaw.changes +++ b/apache-chainsaw.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 26 11:25:01 UTC 2023 - Fridrich Strba + +- Build with source and target levels 9 + ------------------------------------------------------------------- Mon Mar 21 05:41:30 UTC 2022 - Fridrich Strba diff --git a/apache-chainsaw.spec b/apache-chainsaw.spec index 270077c..c09c2de 100644 --- a/apache-chainsaw.spec +++ b/apache-chainsaw.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,7 @@ Source1: %{name}.png Source2: %{name}.desktop Patch0: %{name}-xstream.patch BuildRequires: fdupes -BuildRequires: java-devel >= 1.8 +BuildRequires: java-devel >= 9 BuildRequires: javapackages-tools BuildRequires: maven-local BuildRequires: update-desktop-files @@ -100,7 +100,7 @@ sed -i -e 's#tasks\>#target\>#g' pom.xml %endif %build -%{mvn_build} -f -- -Dsource=8 +%{mvn_build} -f -- -Dmaven.compiler.release=9 -Dsource=9 %install %mvn_install