update sudo.spec.

change spec fix profile Overwrite

Signed-off-by: zhangzeyang <zhangzeyang@kylinos.cn>
This commit is contained in:
zhangzeyang 2023-04-10 10:24:26 +00:00 committed by Gitee
parent 85f3da13bc
commit 90d238e95f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: sudo
Version: 1.9.2
Release: 11
Release: 12
Summary: Allows restricted root access for specified users
License: ISC
URL: http://www.courtesan.com/sudo/
@ -139,8 +139,8 @@ install -p -c -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/sudo-i
%attr(0440,root,root) %config(noreplace) /etc/sudoers
%attr(0750,root,root) %dir /etc/sudoers.d/
%attr(0644,root,root) %{_tmpfilesdir}/sudo.conf
%attr(0644,root,root) /etc/dnf/protected.d/sudo.conf
%attr(0640,root,root) /etc/sudo.conf
%attr(0644,root,root) %config(noreplace) /etc/dnf/protected.d/sudo.conf
%attr(0640,root,root) %config(noreplace) /etc/sudo.conf
%attr(4111,root,root) %{_bindir}/sudo
%attr(0111,root,root) %{_bindir}/sudoreplay
%{_bindir}/sudoedit
@ -175,6 +175,9 @@ install -p -c -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/sudo-i
%exclude %{_pkgdocdir}/ChangeLog
%changelog
* Mon Apr 10 2023 zhangzeyang <zhangzeyang@kylinos.cn> - 1.9.2-12
- change spec fix profile Overwrite
* Tue Mar 28 2023 wangcheng <wangcheng156@huawei.com> - 1.9.2-11
- Fix CVE-2023-28486 and CVE-2023-28487