From 81d30c0883ddbf746c106521e3b9862231d1dcf2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 19 Feb 2014 09:42:01 +0100 Subject: [PATCH] - rel 2; disable undofile by default (introduced in 7.4.165, so back to pre 7.4.165 settings) --- vim-revert-7.4.165-noundo.patch | 10 ++++++++++ vim.spec | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 vim-revert-7.4.165-noundo.patch diff --git a/vim-revert-7.4.165-noundo.patch b/vim-revert-7.4.165-noundo.patch new file mode 100644 index 0000000..f1f20aa --- /dev/null +++ b/vim-revert-7.4.165-noundo.patch @@ -0,0 +1,10 @@ +--- vim74/runtime/vimrc_example.vim~ 2014-02-19 09:38:17.000000000 +0100 ++++ vim74/runtime/vimrc_example.vim 2014-02-19 09:38:56.196879355 +0100 +@@ -25,7 +25,6 @@ + set nobackup " do not keep a backup file, use versions instead + else + set backup " keep a backup file (restore to previous version) +- set undofile " keep an undo file (undo changes after closing) + endif + set history=50 " keep 50 lines of command line history + set ruler " show the cursor position all the time diff --git a/vim.spec b/vim.spec index 6e2c3f6..928997a 100644 --- a/vim.spec +++ b/vim.spec @@ -28,7 +28,7 @@ %define ver 7.4 %define patchlevel 182 -%define rel 1 +%define rel 2 Summary: Vi IMproved - a Vi clone Summary(de.UTF-8): VIsual editor iMproved Summary(es.UTF-8): Editor visual incrementado @@ -111,6 +111,7 @@ Patch35: %{name}-ft-mib.patch Patch36: %{name}-ft-lib-udevrules.patch Patch37: %{name}-ft-mysql.patch Patch38: %{name}-ft-gyp.patch +Patch39: %{name}-revert-7.4.165-noundo.patch URL: http://www.vim.org/ BuildRequires: acl-devel BuildRequires: autoconf @@ -765,6 +766,7 @@ jak również GUI GTK+2. %patch36 -p1 %patch37 -p1 %patch38 -p1 +%patch39 -p1 cp -p %{SOURCE20} runtime/syntax cp -p %{SOURCE22} runtime/syntax -- 2.44.0