packaging: remove %check section 08/305908/2 accepted/tizen_9.0_base accepted/tizen_base accepted/tizen_base_toolchain accepted/tizen_base_x accepted/tizen_base_x_asan tizen_9.0_base tizen_base accepted/tizen/9.0/base/20241030.075426 accepted/tizen/base/20240315.074119 accepted/tizen/base/toolchain/20240214.090505 accepted/tizen/base/toolchain/20240424.234640 accepted/tizen/base/x/20240318.093204 accepted/tizen/base/x/asan/20240412.003412 tizen_9.0_m2_release
authorDongkyun Son <dongkyun.s@samsung.com>
Tue, 13 Feb 2024 07:06:43 +0000 (16:06 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Tue, 13 Feb 2024 12:11:32 +0000 (21:11 +0900)
To fix RPM build errors:

File not found:
/home/abuild/rpmbuild/BUILDROOT/boost-1.83.0-1.1.x86_64/usr/share/boosttestsuite.log

Change-Id: I6e5e60e3805a796c8148490a8e6338cc830ae01c
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/boost.spec

index 39f7c0b..fd1ae05 100644 (file)
@@ -530,18 +530,19 @@ cd doc
 ../b2 --user-config=../user-config.jam --v2 man
 %endif
 
-%check
 %if 0%{?run_tests}
 BOOST_LIBS="chrono,program_options,thread,system,filesystem,date_time,regex,serialization,iostreams,random,test"
 install -m 0755 %{SOURCE1003} ./
 echo "RUN run_test.sh"
 ./run_test.sh %{version} $BOOST_LIBS %{testlogfile} || exit 0
-
-install -D -m 644 %{testlogfile} $RPM_BUILD_ROOT%{_datadir}/boosttestsuite.log
 %endif
 
 %install
 
+%if 0%{?run_tests}
+install -D -m 644 %{testlogfile} $RPM_BUILD_ROOT%{_datadir}/boosttestsuite.log
+%endif
+
 # Read shared build instructions
 . ./.build