diff --git a/sudo.spec b/sudo.spec index 6028dd8..bb95586 100644 --- a/sudo.spec +++ b/sudo.spec @@ -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 \