diff --git a/disable-unreliable-tests-arch.patch b/disable-unreliable-tests-arch.patch index b4c4a29..138c179 100644 --- a/disable-unreliable-tests-arch.patch +++ b/disable-unreliable-tests-arch.patch @@ -1,8 +1,8 @@ -Index: vim-8.2.3204/src/testdir/Make_all.mak +Index: vim-8.2.3318/src/testdir/Make_all.mak =================================================================== ---- vim-8.2.3204.orig/src/testdir/Make_all.mak -+++ vim-8.2.3204/src/testdir/Make_all.mak -@@ -30,21 +30,17 @@ SCRIPTS_TINY_OUT = \ +--- vim-8.2.3318.orig/src/testdir/Make_all.mak ++++ vim-8.2.3318/src/testdir/Make_all.mak +@@ -30,23 +30,17 @@ SCRIPTS_TINY_OUT = \ # Tests for Vim9 script. TEST_VIM9 = \ @@ -12,7 +12,7 @@ Index: vim-8.2.3204/src/testdir/Make_all.mak test_vim9_disassemble \ - test_vim9_expr \ test_vim9_fails \ - test_vim9_func \ +- test_vim9_func \ test_vim9_script TEST_VIM9_RES = \ @@ -22,9 +22,11 @@ Index: vim-8.2.3204/src/testdir/Make_all.mak test_vim9_disassemble.res \ - test_vim9_expr.res \ test_vim9_fails.res \ - test_vim9_func.res \ +- test_vim9_func.res \ test_vim9_script.res -@@ -221,7 +217,6 @@ NEW_TESTS = \ + + # Benchmark scripts. +@@ -222,7 +216,6 @@ NEW_TESTS = \ test_quickfix \ test_quotestar \ test_random \ @@ -32,7 +34,7 @@ Index: vim-8.2.3204/src/testdir/Make_all.mak test_regex_char_classes \ test_regexp_latin \ test_regexp_utf8 \ -@@ -457,7 +452,6 @@ NEW_TESTS_RES = \ +@@ -459,7 +452,6 @@ NEW_TESTS_RES = \ test_quickfix.res \ test_quotestar.res \ test_random.res \ diff --git a/vim-8.2.3318.tar.gz b/vim-8.2.3318.tar.gz deleted file mode 100644 index e202836..0000000 --- a/vim-8.2.3318.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:869ade2abd2003b04bd9752b91e61e525ff23d7e0429f606aa5a2e484aab81ab -size 15675514 diff --git a/vim-8.2.3360.tar.gz b/vim-8.2.3360.tar.gz new file mode 100644 index 0000000..3f57835 --- /dev/null +++ b/vim-8.2.3360.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71403b55b216d90dbd401f958d0f0cfc1ba4b2bc88ec606816d5f3168b11f20b +size 15699720 diff --git a/vim.changes b/vim.changes index 7927344..f24245a 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Fri Aug 20 08:55:25 UTC 2021 - Ondřej Súkup + +- Updated to version 8.2.3360, fixes the following problems + * Vim9: cannot ignore quotes in number at the command line. + * Coverity action on github does not work. + * Some local functions are not static. + * Some code is not tested. + * Vim9: checking type of dict does not check member type. + * Help tag for exists_compiled() is wrong. (Maxim Kim) + * Vim9: Cannot use :silent with :endwhile. + * Digraph test fails when LC_ALL is set to "C". + * Vim9: no error passing an empty list of the wrong type. + * No check for sysconf() failing. + * Coverity error for not checking return value. + * v_lock not set when getting value of environment variable. + * Coverity reports using uninitialized field. + * Coverity warns for using value without boundary check. + * Vim9: cannot assign to range in list. + * Vim9: not enough tests run with Vim9. + * Vim9: not enough tests run with Vim9. + * Vim9: not enough tests run with Vim9. + * Behavior of negative index in list change changed. (Naruhiko Nishino) + * Completing "call g:" returns entries with just "g:". (Naohiro Ono) + * Vim9: no type check when assigning a list range. (Naohiro Ono) + * Vim9: cannot lock a member in a local dict. + * Accessing uninitialized pointer. + * Vim9: function call aborted despite try/catch. (Naohiro Ono) + * Test for :let errors fails. + * Vim9: autoload test fails. + * Vimscript test fails. + * Some code not covered by tests. + * Vim9: no error for using "." for concatenation after ":vim9cmd". (Naohiro + Ono) + * Check for legacy script is incomplete. (Naohiro Ono) + * line2byte() returns wrong value after adding textprop. (Yuto Kimura) + * Eval test for scriptversion fails. + * Vim9: using a function by name may delete it. (Naohiro Ono) + * Vim9: error for nested :enddef has wrong line number. + * Vim9: type of argument for negate not checked at compile time. + * Build failure with +byte_offset but without +textprop. (John Marriott) + * Adding many text properties requires a lot of function calls. + * Crash when 'virtualedit' is set and window is narrow. + * Structurizr files are not recognized. + * Vim9: error for type when variable is not set. + * User function completion fails with dict function. + +------------------------------------------------------------------- +Wed Aug 18 12:43:01 UTC 2021 - Andreas Schwab + +- Disable unreliable tests also on riscv64 +- disable-unreliable-tests-arch.patch: also disable test_vim9_func + ------------------------------------------------------------------- Wed Aug 11 09:03:06 UTC 2021 - Christian Boltz diff --git a/vim.spec b/vim.spec index 1f67b8a..c3984f6 100644 --- a/vim.spec +++ b/vim.spec @@ -17,7 +17,7 @@ %define pkg_version 8.2 -%define patchlevel 3318 +%define patchlevel 3360 %define patchlevel_compact %{patchlevel} %define VIM_SUBDIR vim82 %define site_runtimepath %{_datadir}/vim/site @@ -92,7 +92,7 @@ BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(xt) Requires: vim-data-common = %{version}-%{release} Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: vim-data = %{version}-%{release} Conflicts: vim-base < 8.2 Provides: vi @@ -141,7 +141,7 @@ Group: Productivity/Text/Editors Requires: gvim_client Requires: vim-data = %{version}-%{release} Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Conflicts: gvim < 8.2 Provides: gvim-base = %{version}-%{release} Provides: gvim-enhanced = %{version}-%{release} @@ -161,7 +161,7 @@ want less features, you might want to install vim instead. Summary: Vim with reduced features Group: Productivity/Text/Editors Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Provides: vi Provides: vim_client Requires: vim-data-common = %{version}-%{release} @@ -189,7 +189,7 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim %patch22 -p1 %patch23 -p1 %patch24 -p1 -%ifarch s390x %{arm} aarch64 +%ifarch s390x %{arm} aarch64 riscv64 %patch25 -p1 %endif %patch100 -p1