fix
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=804
This commit is contained in:
parent
516e555249
commit
cadd5825d9
5
vim.spec
5
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user