diff --git a/README.patches b/README.patches
index 6c7be20..662cb53 100644
--- a/README.patches
+++ b/README.patches
@@ -602,3 +602,5 @@ Individual patches for Vim 7.4:
   1647  7.4.578  after "$" in an empty line getcurpos() returns negative number
   5369  7.4.579  wrong cursor positioning when 'linebreak' set and lines wrap
   1513  7.4.580  ":52wincmd v" still gives an invalid range error
+  1773  7.4.581  compiler warnings for unitinialized variables
+  3876  7.4.582  (after 7.4.577) can't match "%>80v" properly
diff --git a/vim.spec b/vim.spec
index 6f4cf3b..33157b9 100644
--- a/vim.spec
+++ b/vim.spec
@@ -1,4 +1,4 @@
-%define patchlevel 580
+%define patchlevel 582
 %if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
 %define WITH_SELINUX 1
 %endif
@@ -627,6 +627,8 @@ Patch577: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.577
 Patch578: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.578
 Patch579: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.579
 Patch580: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.580
+Patch581: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.581
+Patch582: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.582
 
 Patch1559: 7.4.559.rhpatched
 Patch3000: vim-7.4-syntax.patch
@@ -1356,6 +1358,8 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
 %patch578 -p0
 %patch579 -p0
 %patch580 -p0
+%patch581 -p0
+%patch582 -p0
 
 # install spell files
 %if %{withvimspell}
@@ -1873,6 +1877,9 @@ rm -rf %{buildroot}
 %{_datadir}/icons/hicolor/*/apps/*
 
 %changelog
+* Sun Jan 18 2015 Karsten Hopp <karsten@redhat.com> 7.4.582-1
+- patchlevel 582
+
 * Thu Jan 15 2015 Karsten Hopp <karsten@redhat.com> 7.4.580-1
 - patchlevel 580