From d4d06957eb8127e130cd124541237924f73e3e7d77fd5361db6ad197005351ee Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 29 Apr 2024 12:19:28 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsch?expand=0&rev=53 --- jsch.changes | 5 +++++ jsch.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/jsch.changes b/jsch.changes index a90deed..000aeea 100644 --- a/jsch.changes +++ b/jsch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 29 12:18:36 UTC 2024 - Fridrich Strba + +- The binaries are compatible with java 1.8 + ------------------------------------------------------------------- Wed Feb 21 10:47:53 UTC 2024 - Gus Kenion diff --git a/jsch.spec b/jsch.spec index d53b509..cba6b25 100644 --- a/jsch.spec +++ b/jsch.spec @@ -36,8 +36,10 @@ BuildRequires: javapackages-local >= 6 BuildRequires: jna BuildRequires: jna-contrib BuildRequires: slf4j -# The jar still works with Java 8 -Requires: java >= 1.8 +# The automatic requires would be java-headless >= 9, but the +# binaries are java 8 compatible +%define __requires_exclude java-headless +Requires: java-headless >= 1.8 BuildArch: noarch %description From 046f28a0b8a23c9f706bf069785d335a4845b5ef914d2ce0df86c88210341775 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 29 Apr 2024 12:34:20 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsch?expand=0&rev=54 --- jsch.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jsch.spec b/jsch.spec index cba6b25..53dd0b6 100644 --- a/jsch.spec +++ b/jsch.spec @@ -16,6 +16,9 @@ # +# The automatic requires would be java-headless >= 9, but the +# binaries are java 8 compatible +%define __requires_exclude java-headless Name: jsch Version: 0.2.15 Release: 0 @@ -36,9 +39,6 @@ BuildRequires: javapackages-local >= 6 BuildRequires: jna BuildRequires: jna-contrib BuildRequires: slf4j -# The automatic requires would be java-headless >= 9, but the -# binaries are java 8 compatible -%define __requires_exclude java-headless Requires: java-headless >= 1.8 BuildArch: noarch