From 5fd70b7bf58e9355f6552718a73f4e08731f01ae Mon Sep 17 00:00:00 2001 From: jusung Date: Thu, 2 Jun 2022 11:22:38 +0900 Subject: [PATCH] Fix build break issue Change-Id: I4773503c87e24c093e84e885e7975f0336d92466 Signed-off-by: jusung --- packaging/buxton2.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packaging/buxton2.spec b/packaging/buxton2.spec index 94d04e0..d7bb94c 100644 --- a/packaging/buxton2.spec +++ b/packaging/buxton2.spec @@ -178,15 +178,6 @@ mkdir -p "$gcno_obj_dir" find . -name '*.gcno' -exec cp --parents '{}' "$gcno_obj_dir" ';' %endif -%check -export LD_LIBRARY_PATH=../../vconf-compat:../../lib -ctest -V - -%if 0%{?gcov:1} -lcov -c --ignore-errors graph --no-external -b . -d . -o %{name}.info -genhtml %{name}.info -o out --legend --show-details -%endif - cat << EOF > run-unittest.sh #!/bin/sh setup() { @@ -214,6 +205,15 @@ EOF mkdir -p %{buildroot}%{_bindir}/tizen-unittests/%{name} install -m 0755 run-unittest.sh %{buildroot}%{_bindir}/tizen-unittests/%{name}/ +%check +export LD_LIBRARY_PATH=../../vconf-compat:../../lib +ctest -V + +%if 0%{?gcov:1} +lcov -c --ignore-errors graph --no-external -b . -d . -o %{name}.info +genhtml %{name}.info -o out --legend --show-details +%endif + %post /sbin/ldconfig -- 2.7.4