diff --git a/view_wrapper b/view_wrapper index 228349e..10c45fc 100644 --- a/view_wrapper +++ b/view_wrapper @@ -7,4 +7,4 @@ then fi # run vi otherwise -exec /usr/libexec/vi "$@" +exec /usr/libexec/vi -R "$@" diff --git a/vim.spec b/vim.spec index a039308..733197b 100644 --- a/vim.spec +++ b/vim.spec @@ -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 - 2:8.2.2465-2 +- view is not readonly right now, fix it by -R + * Thu Feb 04 2021 Zdenek Dohnal - 2:8.2.2465-1 - patchlevel 2465 - 1918575 - Use wrappers for vi/vim instead of aliases