From af4ddd026015e7c239c21269885a0b724a41289d Mon Sep 17 00:00:00 2001 From: Jiri Date: Fri, 5 May 2023 09:36:25 +0200 Subject: [PATCH] lib/libjsvml.so now have fake build id only on svml arches --- java-latest-openjdk.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/java-latest-openjdk.spec b/java-latest-openjdk.spec index 13ac09b..899f06a 100644 --- a/java-latest-openjdk.spec +++ b/java-latest-openjdk.spec @@ -1911,7 +1911,11 @@ for suffix in %{build_loop} ; do # it may happen, that some library - in original case libjsvml build identically for two jdks # it is becasue of our ld/gcc flags - otherwise rpm build enhances each binarry by full path to it # if it is hit then this library needs to have build-id repalced - note, that it do not affect dbugability - for lib in lib/libjsvml.so ; do + clashinglibs="" +%ifarch %{svml_arches} + clashinglibs="$clashinglibs lib/libjsvml.so" +%endif + for lib in $clashinglibs ; do libjsvmlgcchackdir=`mktemp -d` pushd $libjsvmlgcchackdir libjsvml=${top_dir_abs_main_build_path}/$lib