From 73be3319684238edc484ebf02828a8ca3270446e Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sat, 18 Jul 2020 18:05:11 +0200 Subject: [PATCH] Improve compatibility with new CMake macro Signed-off-by: Igor Raits --- uriparser.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index bee66d5..9df2057 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + Name: uriparser Version: 0.9.4 Release: 1%{?dist} @@ -57,7 +59,7 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %check -LD_LIBRARY_PATH=".libs" make check +LD_LIBRARY_PATH=".libs" make check -C %{_vpath_builddir} %ldconfig_scriptlets