view is not readonly right now, fix it by -R

This commit is contained in:
Zdenek Dohnal 2021-02-08 07:01:18 +01:00
parent f3ef01b2e5
commit c538905e16
2 changed files with 5 additions and 2 deletions

View File

@ -7,4 +7,4 @@ then
fi
# run vi otherwise
exec /usr/libexec/vi "$@"
exec /usr/libexec/vi -R "$@"

View File

@ -21,7 +21,7 @@ Summary: The VIM editor
URL: http://www.vim.org/
Name: vim
Version: %{baseversion}.%{patchlevel}
Release: 1%{?dist}
Release: 2%{?dist}
License: Vim and MIT
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
Source1: virc
@ -833,6 +833,9 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
%config(noreplace) %{_sysconfdir}/profile.d/vim-default-editor.*
%changelog
* Mon Feb 08 2021 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.2465-2
- view is not readonly right now, fix it by -R
* Thu Feb 04 2021 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.2465-1
- patchlevel 2465
- 1918575 - Use wrappers for vi/vim instead of aliases