From 669a877e3ff25da1c6a13aeb848dac33bf8569527d2e7dcf19bcd09aaa7e9b3f Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 21 Mar 2022 04:57:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jakarta-commons-modeler?expand=0&rev=13 --- jakarta-commons-modeler.changes | 5 +++++ jakarta-commons-modeler.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/jakarta-commons-modeler.changes b/jakarta-commons-modeler.changes index 7755b7b..97eb947 100644 --- a/jakarta-commons-modeler.changes +++ b/jakarta-commons-modeler.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 21 04:56:45 UTC 2022 - Fridrich Strba + +- Build with java source and target levels 8 + ------------------------------------------------------------------- Tue Dec 28 08:23:03 UTC 2021 - David Anes diff --git a/jakarta-commons-modeler.spec b/jakarta-commons-modeler.spec index a8d0bbd..91ee914 100644 --- a/jakarta-commons-modeler.spec +++ b/jakarta-commons-modeler.spec @@ -1,7 +1,7 @@ # # spec file for package jakarta-commons-modeler # -# Copyright (c) 2021 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 @@ -30,6 +30,7 @@ Source1: https://archive.apache.org/dist/commons/%{base_name}/source/%{sh BuildRequires: ant BuildRequires: fdupes BuildRequires: jakarta-commons-digester +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-tools BuildRequires: junit BuildRequires: mx4j @@ -80,7 +81,7 @@ ant \ -Djunit.jar=$(build-classpath junit) \ -Dcommons-digester.jar=$(build-classpath commons-digester) \ -Dcommons-logging.jar=$(build-classpath commons-logging) \ - -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ + -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 \ dist %install