Adjust check section position 81/209981/1
authormk5004.lee <mk5004.lee@samsung.com>
Mon, 15 Jul 2019 00:21:08 +0000 (09:21 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Mon, 15 Jul 2019 00:21:08 +0000 (09:21 +0900)
Change-Id: I06df07a52b3e70e54eab82d0969f630a73f17df9
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
packaging/notification.spec

index a615c58..d0ff353 100644 (file)
@@ -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}