From c0dbef1f803e52721cbd6de51eaeddb65f85c5f4be0f9af969bef91b2263380b Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 24 Aug 2017 06:21:53 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-1_8_0-openjdk?expand=0&rev=235 --- java-1_8_0-openjdk.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/java-1_8_0-openjdk.spec b/java-1_8_0-openjdk.spec index bd60f69..cdc7608 100644 --- a/java-1_8_0-openjdk.spec +++ b/java-1_8_0-openjdk.spec @@ -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