From e5695b42e54783f7cd27153586c52f203a091f857f5355282468bf228ae4bc05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Fri, 8 Apr 2022 15:36:54 +0000 Subject: [PATCH] Accepting request 967865 from home:fstrba:branches:Base:System fix build in factory OBS-URL: https://build.opensuse.org/request/show/967865 OBS-URL: https://build.opensuse.org/package/show/Base:System/gnulib?expand=0&rev=11 --- gnulib.changes | 6 ++++++ gnulib.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gnulib.changes b/gnulib.changes index b7055ba..7eb1649 100644 --- a/gnulib.changes +++ b/gnulib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 8 15:10:47 UTC 2022 - Fridrich Strba + +- Build with java source target levels 8 + * fixes build in factory + ------------------------------------------------------------------- Mon Nov 29 08:29:59 UTC 2021 - mliska@suse.cz diff --git a/gnulib.spec b/gnulib.spec index 6dfa2ff..b752df4 100644 --- a/gnulib.spec +++ b/gnulib.spec @@ -1,7 +1,7 @@ # # spec file for package gnulib # -# 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 @@ -122,7 +122,7 @@ pushd build-tests make %{?_smp_mflags} popd # Rebuild removed java class -javac -d lib -source 6 -target 1.6 lib/javaversion.java +javac -d lib -source 1.8 -target 1.8 lib/javaversion.java # This part is done with the original path make %{?_smp_mflags} MODULES.html sed -i -r 's#HREF="(lib|m4|modules)#HREF="%{_datadir}/%{name}/\1#g' MODULES.html