Accepting request 522254 from Java:packages
Fix build with java 9 OBS-URL: https://build.opensuse.org/request/show/522254 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jsch?expand=0&rev=21
This commit is contained in:
commit
e69eedb3ee
13
jsch-0.1.54-sourcetarget.patch
Normal file
13
jsch-0.1.54-sourcetarget.patch
Normal file
@ -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 @@
|
||||
</available>
|
||||
<javac srcdir="${src}"
|
||||
destdir="${build}"
|
||||
- target="1.4"
|
||||
- source="1.4"
|
||||
+ target="1.6"
|
||||
+ source="1.6"
|
||||
debug="${javac.debug}">
|
||||
<classpath refid="lib.path.ref"/>
|
||||
<exclude name="com/jcraft/jsch/jcraft/Compression.java"
|
@ -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
|
||||
|
||||
|
@ -27,6 +27,7 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.zip
|
||||
Source1: MANIFEST.MF
|
||||
Source2: plugin.properties
|
||||
Source3: http://repo1.maven.org/maven2/com/jcraft/%{name}/%{version}/%{name}-%{version}.pom
|
||||
Patch0: jsch-0.1.54-sourcetarget.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: java-devel >= 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user