From 3b5a11d16e6973689c98f12672afba27d63c6af74560f7420074808075392810 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 8 Sep 2017 08:30:48 +0000 Subject: [PATCH 1/2] Fix build with java 9 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsch?expand=0&rev=19 --- jsch-0.1.54-sourcetarget.patch | 13 +++++++++++++ jsch.spec | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 jsch-0.1.54-sourcetarget.patch diff --git a/jsch-0.1.54-sourcetarget.patch b/jsch-0.1.54-sourcetarget.patch new file mode 100644 index 0000000..6f1bad6 --- /dev/null +++ b/jsch-0.1.54-sourcetarget.patch @@ -0,0 +1,13 @@ +--- jsch-0.1.54/build.xml 2016-08-30 09:06:39.000000000 +0200 ++++ jsch-0.1.54/build.xml 2017-09-08 10:27:56.694518991 +0200 +@@ -35,8 +35,8 @@ + + + + = 1.6.0 BuildRequires: javapackages-local @@ -63,6 +64,7 @@ functionality into your own Java programs. %prep %setup -q +%patch0 -p1 %build export CLASSPATH=$(build-classpath jzlib) From 84f76737498c86b6f97fe00f6244a88c525f5f7da51939616b652795a6d4cbee Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 8 Sep 2017 08:31:51 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsch?expand=0&rev=20 --- jsch.changes | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jsch.changes b/jsch.changes index fe765cf..3cf7a21 100644 --- a/jsch.changes +++ b/jsch.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Sep 8 08:31:01 UTC 2017 - fstrba@suse.com + +- Added patch: + * jsch-0.1.54-sourcetarget.patch + - Specify java source and target levels to 1.6, in order to + allow building with jdk9 + ------------------------------------------------------------------- Fri Jun 9 10:59:34 UTC 2017 - tchvatal@suse.com