fix utsudoedit error

(cherry picked from commit 17e9af45e25d50278ef4f983985bc00ae751a5df)
This commit is contained in:
bianguangze 2023-12-20 17:35:34 +08:00 committed by openeuler-sync-bot
parent 0111e52948
commit 8bd4dc3842
2 changed files with 6505 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@ ExcludeArch: i686
Summary: The tudo respect sudo
Name: utsudo
Version: 0.0.1
Release: 0.04
Release: 0.05
License: ISC
Group: Applications/System
URL: https://www.sudo.ws/
@ -39,6 +39,7 @@ BuildRequires: patchelf
Patch0001: 0001-fix-compile-error-undefined-reference-to-sys_sigabbr.patch
Patch0002: 0002-change-struct-stat-for-arm-and-loongarch.patch
Patch0003: 0003-fix-bug-utsudoedit-error.patch
%description
Sudo (superuser do) allows a system administrator to give certain
@ -56,6 +57,7 @@ on many different machines.
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
%build
# Remove bundled copy of zlib
@ -180,6 +182,9 @@ rm -rf $RPM_BUILD_ROOT
/bin/chmod 0440 /etc/utsudoers || :
%changelog
* Wed Dec 20 2023 Bianguangze <bianguangze@uniontech.com> - 0.0.1-0.05
- Add Patch: 0003-fix-bug-utsudoedit-error.patch
* Wed Sep 06 2023 Lujun <wanglujun@uniontech.com> - 0.0.1-0.04
- Add Patch: 0002-change-struct-stat-for-arm-and-loongarch.patch