update version to 0.0.2 && fix errors while compiling

(cherry picked from commit c186f4fb4c2d262acef40448d6a77216d8a5ce66)
This commit is contained in:
bianguangze 2024-04-07 10:08:03 +08:00 committed by openeuler-sync-bot
parent f9e4c1ff18
commit 2c1fbb967f

View File

@ -13,9 +13,10 @@ Source1: utsudoers
Source2: utsudo-ldap.conf
Source3: utsudo.conf
Requires: /etc/pam.d/system-auth
Requires: /usr/bin/vi
Requires(post): /bin/chmod
Requires: pam
Requires: vim-minimal
Requires(post): coreutils
Requires: sudo
BuildRequires: /usr/sbin/sendmail
BuildRequires: autoconf
@ -193,8 +194,21 @@ rm -rf $RPM_BUILD_ROOT
/bin/chmod 0440 /etc/utsudoers || :
%changelog
* Fri Mar 29 2024 bianguangze <bianguangze@uniontech.com> - 0.0.2-0.01
- passd compiling and sync version.
* Sun Apr 7 2024 bianguangze <bianguangze@uniontech.com> - 0.0.2-0.01
- 升级至0.0.2大版本,解决部分编译报错.
* Wed Sep 06 2023 Lujun <wanglujun@uniontech.com> - 0.0.1-0.04
- Add Patch: 0002-change-struct-stat-for-arm-and-loongarch.patch
* Mon Sep 04 2023 Lujun <wanglujun@uniontech.com> - 0.0.1-0.03
- Add Requires: sudo
- Del /etc/pam.d/sudo and /etc/pam.d/sudo-i fix file conflict.
* 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
- Add Patch: 0001-fix-compile-error-undefined-reference-to-sys_sigabbr.patch
* Tue May 10 2022 Lujun <wanglujun@uniontech.com> - 0.0.1
- init.