Fridrich Strba 2017-08-24 06:21:53 +00:00 committed by Git OBS Bridge
parent 32c594df96
commit c0dbef1f80

View File

@ -444,10 +444,15 @@ this package unless you really need to.
for file in tapset/*.in; do
OUTPUT_FILE=`echo $file | sed -e s:\.in$::g`
%ifnarch %{arm}
sed -e s:@ABS_SERVER_LIBJVM_SO@:%{_jvmdir}/%{jredir}/lib/%{archinstall}/server/libjvm.so:g $file > $file.1
# TODO find out which architectures other than ix86 have a client vm
%else
sed -e '/@ABS_SERVER_LIBJVM_SO@/d' $file > $file.1
%endif
%ifarch %{ix86}
# TODO find out which architectures other than ix86 and arm have a client vm
%ifarch %{ix86} %{arm}
sed -e s:@ABS_CLIENT_LIBJVM_SO@:%{_jvmdir}/%{jredir}/lib/%{archinstall}/client/libjvm.so:g $file.1 > $OUTPUT_FILE
%else
sed -e '/@ABS_CLIENT_LIBJVM_SO@/d' $file.1 > $OUTPUT_FILE