Fridrich Strba 2024-09-29 05:54:49 +00:00 committed by Git OBS Bridge
parent 05fac9217a
commit 9eecd99f42

View File

@ -16,7 +16,6 @@
# #
%global java_home %{_jvmdir}/java
%global make make %global make make
Name: libreadline-java Name: libreadline-java
Version: 0.8.3 Version: 0.8.3
@ -69,8 +68,6 @@ 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
%build %build
export JAVA_HOME=%{java_home}
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
%make CFLAGS="%{optflags} -fPIC -DPOSIX" T_LIBS=JavaEditline -j1 %make CFLAGS="%{optflags} -fPIC -DPOSIX" T_LIBS=JavaEditline -j1
%make apidoc -j1 %make apidoc -j1