diff --git a/mysql.spec b/mysql.spec index e4f2257..afe97cf 100644 --- a/mysql.spec +++ b/mysql.spec @@ -492,10 +492,13 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \ -DWITH_MYSQLD_LDFLAGS="%{build_ldflags}" \ -DCMAKE_C_LINK_FLAGS="%{build_ldflags}" \ -DCMAKE_CXX_LINK_FLAGS="%{build_ldflags}" \ - -DCMAKE_SKIP_INSTALL_RPATH=YES + -DCMAKE_SKIP_INSTALL_RPATH=YES \ + -DWITH_UNIT_TESTS=0 # Note: linking with GOLD disabled on Armv7hl because of https://bugs.mysql.com/bug.php?id=96698 +# Note: disabling building of unittests to workaround #1989847 + cmake -B %{_vpath_builddir} -LAH %cmake_build @@ -619,7 +622,8 @@ rm -r %{buildroot}%{_datadir}/mysql-test %if %{with test} %if %runselftest pushd %_vpath_builddir -make test VERBOSE=1 +# Note: disabling building of unittests to workaround #1989847 +#make test VERBOSE=1 pushd mysql-test cp ../../mysql-test/%{skiplist} .