Replace command file with rpm

Signed-off-by: small_leek <xiasenlin1@huawei.com>
(cherry picked from commit ad70724336273200c728273bc1f6f8de1546cb4f)
This commit is contained in:
small_leek 2023-08-19 07:34:25 +00:00 committed by openeuler-sync-bot
parent fcf10ba943
commit bda4c3411c

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%{?dist}.01 Release: 0.02
License: ISC License: ISC
Group: Applications/System Group: Applications/System
URL: https://www.sudo.ws/ URL: https://www.sudo.ws/
@ -13,11 +13,11 @@ Source1: utsudoers
Source2: utsudo-ldap.conf Source2: utsudo-ldap.conf
Source3: utsudo.conf Source3: utsudo.conf
Requires: /etc/pam.d/system-auth Requires: pam
Requires: /usr/bin/vi Requires: vim-minimal
Requires(post): /bin/chmod Requires(post): coreutils
BuildRequires: /usr/sbin/sendmail BuildRequires: sendmail
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: bison BuildRequires: bison
@ -196,6 +196,9 @@ rm -rf $RPM_BUILD_ROOT
/bin/chmod 0440 /etc/utsudoers || : /bin/chmod 0440 /etc/utsudoers || :
%changelog %changelog
* Sat Aug 19 2023 senlin <xiasenlin1@huawei.com> - 0.0.1-0.02
- Replace command file with rpm to avoid the build-system being unable to recognize it
* Mon Aug 07 2023 Lujun <wanglujun@uniontech.com> - 0.0.1-0.01 * Mon Aug 07 2023 Lujun <wanglujun@uniontech.com> - 0.0.1-0.01
- Add Patch: 0001-fix-compile-error-undefined-reference-to-sys_sigabbr.patch - Add Patch: 0001-fix-compile-error-undefined-reference-to-sys_sigabbr.patch