!36 enable haveged.service

From: @qsw333 
Reviewed-by: @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
This commit is contained in:
openeuler-ci-bot 2023-09-07 03:04:24 +00:00 committed by Gitee
commit 5cf2273c19
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Summary: A Linux entropy source using the HAVEGE algorithm Summary: A Linux entropy source using the HAVEGE algorithm
Name: haveged Name: haveged
Version: 1.9.18 Version: 1.9.18
Release: 1 Release: 2
License: GPLv3+ License: GPLv3+
URL: https://github.com/jirka-h/haveged URL: https://github.com/jirka-h/haveged
Source0: https://github.com/jirka-h/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/jirka-h/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
@ -74,6 +74,8 @@ rm -rf %{buildroot}
%post %post
/sbin/ldconfig /sbin/ldconfig
%systemd_post haveged.service %systemd_post haveged.service
/bin/systemctl enable haveged
/bin/systemctl start haveged
%preun %preun
%systemd_preun haveged.service %systemd_preun haveged.service
@ -102,6 +104,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/libhavege.3* %{_mandir}/man3/libhavege.3*
%changelog %changelog
* Wed Sep 6 2023 wangqingsan <wangqingsan@huawei.com> - 1.9.18-2
- enable haveged.service
* Mon Jul 4 2022 panxiaohe <panxh.life@foxmail.com> - 1.9.18-1 * Mon Jul 4 2022 panxiaohe <panxh.life@foxmail.com> - 1.9.18-1
- update to 1.9.18 - update to 1.9.18