Fix build with jdk <= 7
OBS-URL: https://build.opensuse.org/package/show/Java:packages/libreadline-java?expand=0&rev=20
This commit is contained in:
parent
d2145e697a
commit
65acfdc2dd
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 18 12:42:17 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Removed patch:
|
||||||
|
* libreadline-java-0.8.0-doclint.patch
|
||||||
|
- Not needed since we disabled globally doclint by default
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 8 12:09:01 UTC 2017 - fstrba@suse.com
|
Fri Sep 8 12:09:01 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ Source1: baselibs.conf
|
|||||||
Patch0: libreadline-java-ncurses.patch
|
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-doclint.patch
|
|
||||||
BuildRequires: java-devel >= 1.6.0
|
BuildRequires: java-devel >= 1.6.0
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: libedit-devel >= 2.9
|
BuildRequires: libedit-devel >= 2.9
|
||||||
@ -57,7 +56,6 @@ wrapper. This package contains the javadoc documentation for it.
|
|||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -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