!12 [sync] PR-11: fix utsudoedit error

From: @openeuler-sync-bot 
Reviewed-by: @ut-wanglujun 
Signed-off-by: @ut-wanglujun
This commit is contained in:
openeuler-ci-bot 2023-12-21 01:06:30 +00:00 committed by Gitee
commit 10654c62ec
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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 Summary: The tudo respect sudo
Name: utsudo Name: utsudo
Version: 0.0.1 Version: 0.0.1
Release: 0.04 Release: 0.05
License: ISC License: ISC
Group: Applications/System Group: Applications/System
URL: https://www.sudo.ws/ URL: https://www.sudo.ws/
@ -39,6 +39,7 @@ BuildRequires: patchelf
Patch0001: 0001-fix-compile-error-undefined-reference-to-sys_sigabbr.patch Patch0001: 0001-fix-compile-error-undefined-reference-to-sys_sigabbr.patch
Patch0002: 0002-change-struct-stat-for-arm-and-loongarch.patch Patch0002: 0002-change-struct-stat-for-arm-and-loongarch.patch
Patch0003: 0003-fix-bug-utsudoedit-error.patch
%description %description
Sudo (superuser do) allows a system administrator to give certain Sudo (superuser do) allows a system administrator to give certain
@ -56,6 +57,7 @@ on many different machines.
%patch0001 -p1 %patch0001 -p1
%patch0002 -p1 %patch0002 -p1
%patch0003 -p1
%build %build
# Remove bundled copy of zlib # Remove bundled copy of zlib
@ -180,6 +182,9 @@ rm -rf $RPM_BUILD_ROOT
/bin/chmod 0440 /etc/utsudoers || : /bin/chmod 0440 /etc/utsudoers || :
%changelog %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 * Wed Sep 06 2023 Lujun <wanglujun@uniontech.com> - 0.0.1-0.04
- Add Patch: 0002-change-struct-stat-for-arm-and-loongarch.patch - Add Patch: 0002-change-struct-stat-for-arm-and-loongarch.patch