From a1f35cdf228b7592827a9223d75ffb1432ed151cc7cbe93a027fe98069f73172 Mon Sep 17 00:00:00 2001 From: Nicolas Morey Date: Wed, 1 Nov 2023 15:53:29 +0000 Subject: [PATCH] Accepting request 1121518 from home:fstrba:branches:science:HPC fix build in factory OBS-URL: https://build.opensuse.org/request/show/1121518 OBS-URL: https://build.opensuse.org/package/show/science:HPC/opa-fmgui?expand=0&rev=47 --- opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch | 2 +- opa-fmgui.changes | 8 ++++++++ opa-fmgui.spec | 6 +++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch b/opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch index 992cb1b..b0fd9f9 100644 --- a/opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch +++ b/opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch @@ -13,7 +13,7 @@ index a7f6209..84f4c59 100644 - + +- Modified patch: + * opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch + + Build with java source/target levels 8 + + Fixes building with JDK21 + ------------------------------------------------------------------- Mon Apr 11 13:00:04 UTC 2022 - Fridrich Strba diff --git a/opa-fmgui.spec b/opa-fmgui.spec index cc50b4e..27d5a1a 100644 --- a/opa-fmgui.spec +++ b/opa-fmgui.spec @@ -1,7 +1,7 @@ # # spec file for package opa-fmgui # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2015 Intel Corporation # # All modifications and additions to the file contributed by third parties @@ -75,12 +75,12 @@ Patch2: manifest-version.patch Patch3: opa-fmgui-fix-build-for-JDK9-Gradle-3.2.patch BuildRequires: ant BuildRequires: hicolor-icon-theme -BuildRequires: java-devel >= 1.7 +BuildRequires: java-devel >= 1.8 BuildRequires: openssl BuildRequires: unzip BuildRequires: update-desktop-files BuildRequires: wget -Requires: jre >= 1.7 +Requires: jre >= 1.8 Requires: mlocate # BuildRequires: gradle BuildArch: noarch