From f8c6b603c200e859d2c247a4ece3d6f5035bccd9253208c012a23f189caaf1f5 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 21 Mar 2017 08:08:22 +0000 Subject: [PATCH] Accepting request 481405 from home:kukuk:branches:editors - Disable term=xxx test, does not work with any vim version OBS-URL: https://build.opensuse.org/request/show/481405 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=426 --- vim-8.0-ttytype-test.patch | 12 ++++++++++++ vim.changes | 5 +++++ vim.spec | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 vim-8.0-ttytype-test.patch diff --git a/vim-8.0-ttytype-test.patch b/vim-8.0-ttytype-test.patch new file mode 100644 index 0000000..3b0aa08 --- /dev/null +++ b/vim-8.0-ttytype-test.patch @@ -0,0 +1,12 @@ +--- src/testdir/test_options.vim ++++ src/testdir/test_options.vim 2017/03/20 15:39:06 +@@ -283,7 +283,8 @@ + " FIXME: "set ttytype=" gives E522 instead of E529 + " in travis on some builds. Why? Commented out this test for now. + " call assert_fails('set ttytype=', 'E529:') +- call assert_fails('set ttytype=xxx', 'E522:') ++ " Does not work, not even with older versions of vim ++ " call assert_fails('set ttytype=xxx', 'E522:') + set ttytype& + call assert_equal(&ttytype, &term) + endif diff --git a/vim.changes b/vim.changes index 77719c9..70909d0 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 20 16:46:58 CET 2017 - kukuk@suse.de + +- Disable term=xxx test, does not work with any vim version + ------------------------------------------------------------------- Sun Mar 19 20:55:16 UTC 2017 - suse-beta@cboltz.de diff --git a/vim.spec b/vim.spec index f950691..5f0b3c7 100644 --- a/vim.spec +++ b/vim.spec @@ -94,6 +94,7 @@ Patch15: %{name}-7.4-filetype_apparmor.patch Patch18: %{name}-7.3-filetype_spec.patch Patch21: %{name}-7.3-filetype_changes.patch Patch22: %{name}-7.4-filetype_mine.patch +Patch23: vim-8.0-ttytype-test.patch Patch100: vim73-no-static-libpython.patch %description @@ -152,6 +153,7 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim %patch18 -p1 %patch21 -p1 %patch22 -p1 +%patch23 -p0 %patch100 -p1 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .