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:
parent
bf29ad1a05
commit
b9a4f24d95
@ -7,7 +7,7 @@ URL: https://www.sudo.ws
|
|||||||
Source0: %{url}/dist/%{name}-%{version}.tar.gz
|
Source0: %{url}/dist/%{name}-%{version}.tar.gz
|
||||||
Source1: sudoers
|
Source1: sudoers
|
||||||
Requires: pam
|
Requires: pam
|
||||||
Recommends: vim-minimal
|
Recommends: nano
|
||||||
Recommends: %{name}-python-plugin%{?_isa} = %{version}-%{release}
|
Recommends: %{name}-python-plugin%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
BuildRequires: make
|
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-logfac=authpriv \
|
||||||
--with-pam \
|
--with-pam \
|
||||||
--with-pam-login \
|
--with-pam-login \
|
||||||
--with-editor=/bin/vi \
|
--with-editor=%{_bindir}/nano:%{_bindir}/vim:%{_bindir}/vi \
|
||||||
--with-env-editor \
|
--with-env-editor \
|
||||||
--with-ignore-dot \
|
--with-ignore-dot \
|
||||||
--with-tty-tickets \
|
--with-tty-tickets \
|
||||||
|
Loading…
Reference in New Issue
Block a user