rhbz#1328973 -- make nano the default with fallback to vim and vi in that order

and make nano the "Recommends" instead of vim-minimal.
This commit is contained in:
Matthew Miller 2021-10-03 16:18:20 -04:00
parent bf29ad1a05
commit b9a4f24d95
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ URL: https://www.sudo.ws
Source0: %{url}/dist/%{name}-%{version}.tar.gz
Source1: sudoers
Requires: pam
Recommends: vim-minimal
Recommends: nano
Recommends: %{name}-python-plugin%{?_isa} = %{version}-%{release}
BuildRequires: make
@ -93,7 +93,7 @@ export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
--with-logfac=authpriv \
--with-pam \
--with-pam-login \
--with-editor=/bin/vi \
--with-editor=%{_bindir}/nano:%{_bindir}/vim:%{_bindir}/vi \
--with-env-editor \
--with-ignore-dot \
--with-tty-tickets \