diff --git a/.gitignore b/.gitignore
index 089f73e..8b95eda 100644
--- a/.gitignore
+++ b/.gitignore
@@ -73,3 +73,4 @@
 /vim-8.0-604.tar.bz2
 /vim-8.0-606.tar.bz2
 /vim-8.0-617.tar.bz2
+/vim-8.0-627.tar.bz2
diff --git a/README.patches b/README.patches
index 4a064e5..4e7b920 100644
--- a/README.patches
+++ b/README.patches
@@ -1,3 +1,109 @@
+commit add8dce38de65a0c64e8f54d6bdcadb45a8de2cf
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 19:56:04 2017 +0200
+
+    patch 8.0.0627: "gn" selects only one character with 'nowrapscan'
+    
+    Problem:    When 'wrapscan' is off "gn" does not select the whole pattern when
+                it's the last one in the text. (KeyboardFire)
+    Solution:   Check if the search fails. (Christian Brabandt, closes #1683)
+
+commit e21d69eec1870a3f4732653aa8ee25d5da10128c
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 19:32:32 2017 +0200
+
+    patch 8.0.0626: in the GUI the cursor may flicker
+    
+    Problem:    In the GUI the cursor may flicker.
+    Solution:   Check the cmd_silent flag before updating the cursor shape.
+                (Hirohito Higashi, closes #1637)
+
+commit 206155280def51160a9d81d983aed639015ffb44
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 18:46:26 2017 +0200
+
+    patch 8.0.0625: shellescape() always escapes a newline
+    
+    Problem:    shellescape() always escapes a newline, which does not work with
+                some shells. (Harm te Hennepe)
+    Solution:   Only escape a newline when the "special" argument is non-zero.
+                (Christian Brabandt, closes #1590)
+
+commit 6c95fbc9ae64f3a7619070e830f0c35aa4f0ada9
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 17:53:37 2017 +0200
+
+    patch 8.0.0624: warning for unused variable in tiny build
+    
+    Problem:    Warning for unused variable in tiny build. (Tony Mechelynck)
+    Solution:   Add an #ifdef.
+
+commit 966e58e413ffa88af8d748e697aa2999571fcd7b
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 16:54:08 2017 +0200
+
+    patch 8.0.0623: error for invalid regexp is not very informative
+    
+    Problem:    The message "Invalid range" is used for multiple errors.
+    Solution:   Add two more specific error messages. (Itchyny, Ken Hamada)
+
+commit c5e2b040b490c2f4dd50c945840bc176bfcccb29
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 16:37:07 2017 +0200
+
+    patch 8.0.0622: selecting quoted text fails with 'selection' "exclusive"
+    
+    Problem:    Using a text object to select quoted text fails when 'selection'
+                is set to "exclusive". (Guraga)
+    Solution:   Swap cursor and visual start position. (Christian Brabandt,
+                closes #1687)
+
+commit 8ad80dea089ffeb1a845199c013e9bb4be1cd22e
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 16:01:59 2017 +0200
+
+    patch 8.0.0621: :stag does not respect 'switchbuf'
+    
+    Problem:    The ":stag" command does not respect 'switchbuf'.
+    Solution:   Check 'switchbuf' for tag commands that may open a new window.
+                (Ingo Karkat, closes #1681)  Define macros for the return values
+                of getfile().
+
+commit b463e8d999ec812d656876f313efbeaeed663b45
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 15:07:09 2017 +0200
+
+    patch 8.0.0620: checking for HAVE_GTK_MULTIHEAD is not needed
+    
+    Problem:    Since we only support GTK versions that have it, the ckeck for
+                HAVE_GTK_MULTIHEAD is no longer needed.
+    Solution:   Remove HAVE_GTK_MULTIHEAD. (Kazunobu Kuriyama)
+
+commit 6aa8cea46d4179b2617daae034063dd0d8054e35
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 14:44:35 2017 +0200
+
+    Update runtime files.
+
+commit 9472eec83c3f9c191814dc81dd82498c10b1fc9c
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 13:31:56 2017 +0200
+
+    patch 8.0.0619: GUI gets stuck if timer uses feedkeys()
+    
+    Problem:    In the GUI, when a timer uses feedkeys(), it still waits for an
+                event. (Raymond Ko)
+    Solution:   Check tb_change_cnt in one more place.
+
+commit bb7943b7920ef2f88cb9b6f46c34c7946c370819
+Author: Bram Moolenaar <Bram@vim.org>
+Date:   Mon Jun 5 13:30:06 2017 +0200
+
+    patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
+    
+    Problem:    NFA regex engine handles [0-z] incorrectly.
+    Solution:   Return at the right point. (James McCoy, closes #1703)
+
 commit 763209c57bf50ae777f9c2929eeea01eff7ae6ee
 Author: Bram Moolenaar <Bram@vim.org>
 Date:   Sun Jun 4 21:40:36 2017 +0200
diff --git a/sources b/sources
index 02d55c1..d278661 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (vim-8.0-617.tar.bz2) = 9aaffda93e89a33fca8ffac4676f2323afe75f7a93a35411d10f67cff6f1558ba2d98f43c6e199bb0d4cc1f6da9deade464a77be583775c8a12656f17d5abe67
+SHA512 (vim-8.0-627.tar.bz2) = ebb9d6267710a8528099611a086b1c37055ae0e84d7d06c4c8cc37c7e4347b9b4bc75315fd16ead985310f52b00525101bbd5c5ec5ec7fe83e5acc8e0fe1e89f
diff --git a/vim.spec b/vim.spec
index fd79010..e5e206a 100644
--- a/vim.spec
+++ b/vim.spec
@@ -1,4 +1,4 @@
-%define patchlevel 617
+%define patchlevel 627
 %if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
 %define WITH_SELINUX 1
 %endif
@@ -772,6 +772,9 @@ rm -rf %{buildroot}
 %{_datadir}/icons/locolor/*/apps/*
 
 %changelog
+* Wed Jun 07 2017 Karsten Hopp <karsten@redhat.com> 8.0.627-1
+- patchlevel 627
+
 * Mon Jun 05 2017 Karsten Hopp <karsten@redhat.com> 8.0.617-1
 - patchlevel 617