Some profile doesn't support %check section. It causes the build error
issue. To solve the issue, this patch adjusts %check section position.
Change-Id: I06fe9fd24da51103fac4c42d9637c04a0d9cecab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%__make %{?_smp_mflags}
-%install
-rm -rf %{buildroot}
-%make_install
-
%check
ctest --output-on-failure %{?_smp_mflags}
%if 0%{?gcov:1}
genhtml gcov.info
%endif
+%install
+rm -rf %{buildroot}
+%make_install
+
%preun
%post