add systemd to BuildRequires to fix install/uninstall errors

Signed-off-by: zcj <zhang_chunjing@hoperun.com>
(cherry picked from commit f1015b61a7d00247f5ca3bc3a37ad5ea25be7161)
This commit is contained in:
zcj 2023-07-21 07:17:33 +00:00 committed by openeuler-sync-bot
parent 53e3519bde
commit 333553233b

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