Accepting request 527017 from Java:packages
Fix build with jdk <= 7 OBS-URL: https://build.opensuse.org/request/show/527017 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreadline-java?expand=0&rev=28
This commit is contained in:
commit
2d74bd580f
@ -1,11 +0,0 @@
|
|||||||
--- libreadline-java-0.8.0/Makefile 2003-01-07 11:14:35.000000000 +0100
|
|
||||||
+++ libreadline-java-0.8.0/Makefile 2017-09-08 14:06:15.300416250 +0200
|
|
||||||
@@ -101,7 +101,7 @@
|
|
||||||
apidoc: $(APIDIR)
|
|
||||||
javadoc -sourcepath src -d $(APIDIR) -windowtitle $(WTITLE) \
|
|
||||||
-doctitle $(DTITLE) -footer $(DFOOTER) -header $(DHEADER) \
|
|
||||||
- -bottom $(DBOTTOM) \
|
|
||||||
+ -bottom $(DBOTTOM) -Xdoclint:none \
|
|
||||||
-version -author org.gnu.readline test
|
|
||||||
|
|
||||||
install: jar build-native apidoc
|
|
@ -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