From: Hwankyu Jhun Date: Sun, 14 Jul 2019 23:50:57 +0000 (+0900) Subject: Adjust check section position X-Git-Tag: accepted/tizen/unified/20190715.223913~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F78%2F209978%2F1;p=platform%2Fcore%2Fappfw%2Ftidl.git Adjust check section position 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 --- diff --git a/packaging/tidl.spec b/packaging/tidl.spec index 1927162..4af9951 100644 --- a/packaging/tidl.spec +++ b/packaging/tidl.spec @@ -49,10 +49,6 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %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} @@ -60,6 +56,10 @@ lcov -c --ignore-errors graph --no-external -q -d . -o gcov.info genhtml gcov.info %endif +%install +rm -rf %{buildroot} +%make_install + %preun %post