diff --git a/vim.spec b/vim.spec index a7f9fed..066a793 100644 --- a/vim.spec +++ b/vim.spec @@ -252,9 +252,6 @@ rm src/testdir/test_textprop.* rm src/testdir/test_window_cmd.* rm src/testdir/test_writefile.* rm runtime/indent/testdir/vim.* -%ifarch %{ix86} -rm src/testdir/test_python3.* -%endif %build export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing" @@ -490,6 +487,7 @@ sed -i "s@%{_bindir}/env perl@%{_bindir}/perl@" %{buildroot}%{_datadir}/vim/%{VI sed -i "s@%{_bindir}/env perl@%{_bindir}/perl@" %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/doc/vim2html.pl %check +%ifnarch %{ix86} # vim does quite an extensive test relying on a full fledged terminal # inside OBS, stdio is redirected to a serial console (where the build log # is being recorded/extracted. Systemd set non-local tty by default to vt220 @@ -498,6 +496,7 @@ export TERM=xterm # Reset the terminal scrolling region left behind by the testsuite trap "printf '\e[r'" EXIT TEST_IGNORE_FLAKY=1 LC_ALL=en_US.UTF-8 make -j1 test +%endif %if %{with libalternatives} # with libalternatives