!342 修复仅安装vim-minimal时,使用vi编辑文件,无法直接进入文件,报错:E1187: Failed to source defaults.vim。

From: @tong_1001 
Reviewed-by: @znzjugod, @markeryang, @lvying6 
Signed-off-by: @lvying6
This commit is contained in:
openeuler-ci-bot 2022-08-10 08:37:46 +00:00 committed by Gitee
commit 6cb9c69818
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -12,7 +12,7 @@
Name: vim
Epoch: 2
Version: 9.0
Release: 3
Release: 4
Summary: Vim is a highly configurable text editor for efficiently creating and changing any kind of text.
License: Vim and MIT
URL: http://www.vim.org
@ -416,6 +416,7 @@ popd
%{_bindir}/{ex,vi,view,rvi,rview}
%{_mandir}/man1/{vi.*,ex.*,rvi.*,rview.*,view.*}
%{_mandir}/man5/virc.*
%{_datadir}/%{name}/%{vimdir}/defaults.vim
%files enhanced
%{_bindir}/{vim,rvim,vimdiff,vimtutor}
@ -436,6 +437,12 @@ popd
%{_mandir}/man1/evim.*
%changelog
* Wed Aug 10 2022 shixuantong <shixuantong@h-partners.com> - 2:9.0-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix failed to source defaults.vim
* Tue Aug 02 2022 shixuantong <shixuantong@h-partners.com> - 2:9.0-3
- Type:CVE
- ID:CVE-2022-2598 CVE-2022-2571