diff --git a/vim-8.2.3587.tar.gz b/vim-8.2.3587.tar.gz
deleted file mode 100644
index f74bfec..0000000
--- a/vim-8.2.3587.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7a4b8d91921d0ce86e3c6e5a72fe407f6c2713ab4ef8774b480a0dd97d4d8b26
-size 15781002
diff --git a/vim-8.2.3640.tar.gz b/vim-8.2.3640.tar.gz
new file mode 100644
index 0000000..bd1bcc1
--- /dev/null
+++ b/vim-8.2.3640.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:54fec129f573e6bef9bb02ce047a0af1f8ce9c6e7bfdd2a0674e79586ffdf77f
+size 15792832
diff --git a/vim.changes b/vim.changes
index 9baf73b..a3cd4b6 100644
--- a/vim.changes
+++ b/vim.changes
@@ -1,3 +1,73 @@
+-------------------------------------------------------------------
+Mon Nov 22 09:04:45 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
+
+- fix boo#1192871
+- Updated to version 8.2.3640, fixes the following problems
+  * Arglist test does not clear the argument list consistently.
+  * ":verbose pwd" does not mention 'autochdir' was applied.
+  * getcwd() is unclear about how 'autochdir' is used.
+  * Cannot use a lambda for 'operatorfunc'.
+  * Memory leak reported in libtlib.
+  * Build failure.
+  * "verbose pwd" shows confusing info when :lcd does not change directory.
+  * "$*" is expanded to "nonomatch".
+  * When renaming a terminal buffer the status text is not updated.
+  * Illegal memory access when C-indenting.
+  * "au!" and "au! event" cannot be followed by another command as documented.
+  * difficult to know where the text starts in a window. (Sergey Vlasov)
+  * Looking up terminal colors is a bit slow.
+  * Command completion in cmdline window uses global user commands, not
+  local commands for the window where it was opened from.
+  * Printf() with %S does not handle multi-byte correctly.
+  * "syntax enable" does not work properly in Vim9 context.
+  * GTK3: undercurl does not get removed properly.
+  * Vim9: line number of lambda is off by one.
+  * Error for already defined function uses wrong line number.
+  * GTK: composing underline does not show.
+  * Coverity warns for unreachable code.
+  * Typos in test files.
+  * getcompletion() always passes zero as position to custom completion
+  function.
+  * Line commented out accidentally.
+  * Freeze when calling term_wait() in a close callback.
+
+-------------------------------------------------------------------
+Thu Nov 18 18:28:49 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
+
+- Updated to version 8.2.3616, fixes the following problems
+  * Compiler test fails with backslash file separator.
+  * Break statement is never reached.
+  * Failure when the "term_rows" argument of term_start() is an unusual value.
+  * Test for v:colornames sometimes fails. (Dominique Pellé)
+  * No event is triggered when closing a window.
+  * Test_hlset fails when terminal has many columns.
+  * Directory is wrong after executing "lcd" with win_execute().
+  * Xxd code is a bit difficult to understand.
+  * Check for signed overflow might not work everywhere.
+  * Crash when using :pedit in Vim9 script.
+  * Vim seems to hang when writing a very long text to a terminal window.
+  * RouterOS filetype is not recognized.
+  * Not all gdbinit files are recognized.
+  * Filetype test fails.
+  * Check for overflow in put count does not work well.
+  * Python3 test fails with Python 3.10 on MS-Windows.
+  * Fish filetype not recognized.
+  * Not all sudoers files are recognized.
+  * Cannot clear and unlinke a highlight group with hlset() in a single call.
+  * File missing from list of distributed files.
+  * GTK3 screen updating is slow.
+  * Users who type "q:" instead of ":q" are confused.
+  * Internal error when ModeChanged is triggered when v:event is already
+  in use.
+  * Crash when ModeChanged triggered too early.
+  * Crash when using CTRL-W f without finding a file name.
+  * Using freed memory with regexp using a mark.
+  * :find test fails.
+  * zindex of popup windows not used when redrawing popup menu.
+  * When re-formatting with an indent expression the first line of a paragraph
+  may get the wrong indent. (Martin F. Krafft)
+  * Arglist test does not clear the argument list consistently.
+
 -------------------------------------------------------------------
 Fri Nov 12 18:45:45 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
 
diff --git a/vim.spec b/vim.spec
index 025fd66..3ae2e75 100644
--- a/vim.spec
+++ b/vim.spec
@@ -17,7 +17,7 @@
 
 
 %define pkg_version 8.2
-%define patchlevel 3587
+%define patchlevel 3640
 %define patchlevel_compact %{patchlevel}
 %define VIM_SUBDIR vim82
 %define site_runtimepath %{_datadir}/vim/site
@@ -649,6 +649,7 @@ fi
 %files data
 # exclude common files
 %exclude %{_datadir}/vim/%{VIM_SUBDIR}/autoload/dist/ft.vim
+%exclude %{_datadir}/vim/%{VIM_SUBDIR}/colors/lists/default.vim
 %exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/nosyntax.vim
 %exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/resolv.vim
 %exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/sh.vim
@@ -689,6 +690,7 @@ fi
 %dir %{_datadir}/vim/%{VIM_SUBDIR}/syntax/
 %{_datadir}/vim/%{VIM_SUBDIR}/suse.vimrc
 %{_datadir}/vim/%{VIM_SUBDIR}/autoload/dist/ft.vim
+%{_datadir}/vim/%{VIM_SUBDIR}/colors/lists/default.vim
 %{_datadir}/vim/%{VIM_SUBDIR}/syntax/nosyntax.vim
 %{_datadir}/vim/%{VIM_SUBDIR}/syntax/resolv.vim
 %{_datadir}/vim/%{VIM_SUBDIR}/syntax/sh.vim