From 9a5636c0da8fa961468caa0087a216c38f3bf52638943045a133b36c216761f1 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 23 Jan 2024 15:34:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jna?expand=0&rev=23 --- jna-java8compat.patch | 4 +++- jna.changes | 7 +++++++ jna.spec | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/jna-java8compat.patch b/jna-java8compat.patch index 85b65e4..b813d44 100644 --- a/jna-java8compat.patch +++ b/jna-java8compat.patch @@ -1,6 +1,6 @@ --- jna-5.13.0/build.xml 2023-05-30 15:30:31.116195853 +0200 +++ jna-5.13.0/build.xml 2023-05-30 15:31:56.400786710 +0200 -@@ -106,8 +106,12 @@ +@@ -106,8 +106,14 @@ JDK 11 is the last JDK, that supports creation of Java 6 compatible class files. --> @@ -10,6 +10,8 @@ + + ++ ++ + diff --git a/jna.changes b/jna.changes index b141373..1aca442 100644 --- a/jna.changes +++ b/jna.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 23 15:33:23 UTC 2024 - Fridrich Strba + +- Modified patch: + * jna-java8compat.patch + + force java 1.8 compatibility for all JDKs which support it + ------------------------------------------------------------------- Wed Aug 30 10:34:18 UTC 2023 - Fridrich Strba diff --git a/jna.spec b/jna.spec index 5d5d7c1..a592916 100644 --- a/jna.spec +++ b/jna.spec @@ -1,7 +1,7 @@ # # spec file for package jna # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2000-2009, JPackage Project # # All modifications and additions to the file contributed by third parties