This commit is contained in:
parent
767f01313e
commit
a9a39fc06d
11
libreadline-java-0.8.0-sourcetarget.patch
Normal file
11
libreadline-java-0.8.0-sourcetarget.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- libreadline-java-0.8.0/Makefile 2017-12-18 11:50:48.197823175 +0100
|
||||||
|
+++ libreadline-java-0.8.0/Makefile 2017-12-18 13:31:13.714940274 +0100
|
||||||
|
@@ -70,7 +70,7 @@
|
||||||
|
|
||||||
|
## normal javac
|
||||||
|
JAVAC = javac
|
||||||
|
-JC_FLAGS =
|
||||||
|
+JC_FLAGS = -source 1.6 -target 1.6
|
||||||
|
|
||||||
|
## with jikes
|
||||||
|
#JAVAC = jikes
|
@ -5,6 +5,7 @@ Mon Dec 18 10:57:33 UTC 2017 - fstrba@suse.com
|
|||||||
* libreadline-java-0.8.0-jdk10.patch
|
* libreadline-java-0.8.0-jdk10.patch
|
||||||
- Allow building with jdk10 that does not have javah
|
- Allow building with jdk10 that does not have javah
|
||||||
- Run fdupes on documentation
|
- Run fdupes on documentation
|
||||||
|
- Build with source and target level 1.6
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 18 12:42:17 UTC 2017 - fstrba@suse.com
|
Mon Sep 18 12:42:17 UTC 2017 - fstrba@suse.com
|
||||||
|
@ -29,6 +29,7 @@ Patch0: libreadline-java-ncurses.patch
|
|||||||
Patch1: libreadline-java-libdir.patch
|
Patch1: libreadline-java-libdir.patch
|
||||||
Patch2: libreadline-java-0.8.0-missing-return-type.patch
|
Patch2: libreadline-java-0.8.0-missing-return-type.patch
|
||||||
Patch3: libreadline-java-0.8.0-jdk10.patch
|
Patch3: libreadline-java-0.8.0-jdk10.patch
|
||||||
|
Patch4: libreadline-java-0.8.0-sourcetarget.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
@ -58,6 +59,7 @@ wrapper. This package contains the javadoc documentation for it.
|
|||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
find . -name "*.jar" -exec rm -f {} \;
|
find . -name "*.jar" -exec rm -f {} \;
|
||||||
sed -i 's|@LIBDIR@|%{_libdir}|' src/org/gnu/readline/Readline.java
|
sed -i 's|@LIBDIR@|%{_libdir}|' src/org/gnu/readline/Readline.java
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user