From cadd5825d9c7f00fa3d995bb712664ae0ea260a611b8285867bfc5f7c07d28a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 30 Mar 2023 17:20:35 +0000 Subject: [PATCH] fix OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=804 --- vim.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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