summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun Son <dongkyun.s@samsung.com>2024-02-13 16:06:43 +0900
committerDongkyun Son <dongkyun.s@samsung.com>2024-02-13 21:11:32 +0900
commit89638d483afaa2282ac7ab1611e4a6f21213b8d0 (patch)
tree4621a626abea18b5c692b767c056c3275d7316aa
parentd42295d7405c92f324a030b14e0c038e197150f0 (diff)
downloadboost-tizen_base.tar.gz
boost-tizen_base.tar.bz2
boost-tizen_base.zip
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>
-rw-r--r--packaging/boost.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec
index 39f7c0b6fa..fd1ae05a91 100644
--- a/packaging/boost.spec
+++ b/packaging/boost.spec
@@ -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