enable haveged.service

This commit is contained in:
w00850572 2023-09-06 14:19:52 +08:00
parent cdf300db30
commit e32c666d50

View File

@ -3,7 +3,7 @@
Summary: A Linux entropy source using the HAVEGE algorithm
Name: haveged
Version: 1.9.13
Release: 4
Release: 5
License: GPLv3+
URL: https://github.com/jirka-h/haveged
Source0: https://github.com/jirka-h/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
@ -74,6 +74,8 @@ rm -rf %{buildroot}
%post
/sbin/ldconfig
%systemd_post haveged.service
/bin/systemctl enable haveged
/bin/systemctl start haveged
%preun
%systemd_preun haveged.service
@ -102,6 +104,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/libhavege.3*
%changelog
* Wed Sep 6 2023 wangqingsan <wangqingsan@huawei.com> - 1.9.13-5
- enable haveged.service
* Tue May 25 2021 yixiangzhike <zhangxingliang3@huawei.com> - 1.9.13-4
- add gcc to BuildRequires