From b52e017eee13f80089af64e44c7db4cac12aaee0 Mon Sep 17 00:00:00 2001 From: "mk5004.lee" Date: Mon, 15 Jul 2019 09:21:08 +0900 Subject: [PATCH] Adjust check section position Change-Id: I06df07a52b3e70e54eab82d0969f630a73f17df9 Signed-off-by: mk5004.lee --- packaging/notification.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packaging/notification.spec b/packaging/notification.spec index a615c58..d0ff353 100644 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -73,10 +73,11 @@ mkdir -p gcov-obj find . -name '*.gcno' -exec cp '{}' gcov-obj ';' %endif +%check +ctest --output-on-failure %{?_smp_mflags} %install rm -rf %{buildroot} - %make_install %if 0%{?gcov:1} @@ -87,9 +88,6 @@ install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj mkdir -p %{buildroot}%{upgrade_script_path} cp -f scripts/505.notification_upgrade.sh %{buildroot}%{upgrade_script_path} -%check -ctest --output-on-failure %{?_smp_mflags} - %clean rm -rf %{buildroot} -- 2.7.4