Sync from SUSE:SLFO:Main jsch revision 757a870cc724802cfdc8ed1017ba550c
This commit is contained in:
parent
4791584c5a
commit
2feb34a04e
10
jsch.changes
10
jsch.changes
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 29 12:18:36 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- The binaries are compatible with java 1.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 10:47:53 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 20 12:47:08 UTC 2023 - Gus Kenion <gkenion@suse.com>
|
||||
|
||||
|
10
jsch.spec
10
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,8 +39,7 @@ BuildRequires: javapackages-local >= 6
|
||||
BuildRequires: jna
|
||||
BuildRequires: jna-contrib
|
||||
BuildRequires: slf4j
|
||||
# The jar still works with Java 8
|
||||
Requires: java >= 1.8
|
||||
Requires: java-headless >= 1.8
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -71,14 +73,14 @@ cp %{SOURCE1} build.xml
|
||||
%pom_remove_dep com.kohlschutter.junixsocket:
|
||||
rm -f \
|
||||
src/main/java/com/jcraft/jsch/JUnixSocketFactory.java
|
||||
%patch0 -p1
|
||||
%patch -P 0 -p1
|
||||
|
||||
# Do not depend on log4j
|
||||
%pom_remove_dep org.apache.logging.log4j:
|
||||
rm -f \
|
||||
src/main/java/com/jcraft/jsch/Log4j2Logger.java \
|
||||
src/test/java/com/jcraft/jsch/Log4j2LoggerTest.java
|
||||
%patch1 -p1
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
mkdir -p lib
|
||||
|
Loading…
Reference in New Issue
Block a user