%check: use unstripped library from the build dir

It results in more detailed backtraces in valgrind's output.
This commit is contained in:
Kamil Dudka 2021-02-11 11:43:55 +01:00
parent 7dada590f2
commit d781733304

View File

@ -266,7 +266,7 @@ sed -e 's/^runpath_var=.*/runpath_var=/' \
%check
# we have to override LD_LIBRARY_PATH because we eliminated rpath
LD_LIBRARY_PATH="$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH"
LD_LIBRARY_PATH="${PWD}/build-full/lib/.libs"
export LD_LIBRARY_PATH
# compile upstream test-cases