diff --git a/sudo.spec b/sudo.spec index ec4f5a8e10ea3890b7c7879ea38984a1da6d7c88..ed9f29f83f838d4aa38c836ef4470f65b7ad02d0 100644 --- a/sudo.spec +++ b/sudo.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Summary: Allows restricted root access for specified users Name: sudo Version: 1.9.10 @@ -8,8 +8,6 @@ URL: https://www.sudo.ws Source0: %{url}/dist/%{name}-%{version}.tar.gz Source1: sudoers Requires: pam -Recommends: nano -Recommends: %{name}-python-plugin%{?_isa} = %{version}-%{release} BuildRequires: make BuildRequires: pam-devel @@ -90,7 +88,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=%{_bindir}/nano:%{_bindir}/vim:%{_bindir}/vi \ + --with-editor=%{_bindir}/vi \ --with-env-editor \ --with-ignore-dot \ --with-tty-tickets \ @@ -226,5 +224,8 @@ EOF %attr(0644,root,root) %{_libexecdir}/sudo/python_plugin.so %changelog +* Wed Mar 23 2022 Chunmei Xu - 1.9.10-2 +- remove weak dependency + * Wed Mar 09 2022 Chunmei Xu - 1.9.10-1 - init from usptream 1.9.10