!9 [sync] PR-2: add systemd to BuildRequires to fix install/uninstall errors

From: @openeuler-sync-bot 
Reviewed-by: @dowzyx 
Signed-off-by: @dowzyx
This commit is contained in:
openeuler-ci-bot 2023-11-28 07:25:53 +00:00 committed by Gitee
commit 22a32edd07
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7,7 +7,7 @@
%define kmod_name sysmonitor
%define rpmversion 1.3.2
%define releaseversion 1.0
%define releaseversion 1.1
Summary: System Monitor Daemon
Name: %{kmod_name}-kmod
Version: %{rpmversion}
@ -22,7 +22,7 @@ BuildRequires: module-init-tools
BuildRequires: kernel-devel
BuildRequires: dos2unix
BuildRequires: elfutils-libelf-devel
BuildRequires: cmake gcc-c++
BuildRequires: systemd cmake gcc-c++
BuildRequires: libcap-devel
BuildRequires: uname-build-checks
Requires: bash dhcp gawk kmod logrotate
@ -168,6 +168,12 @@ systemctl daemon-reload 2>/dev/null 1>/dev/null
/usr/lib/systemd/system/multi-user.target.wants/sysmonitor.service
%changelog
* Mon Jul 24 2023 zhang_chunjing<zhang_chunjing@hoperun.com> - 1.3.2-1.1
- Type:bugfix
- CVE:NA
- SUG:restart
- DESC: add systemd to BuildRequires to fix install/uninstall errors
* Sat May 27 2023 xietangxin<xietangxin@huawei.com> - 1.3.2-1.0
- Type:bugfix
- CVE:NA