From 52226a601e0c856151dfcb48b9d8f978edb2e2fc Mon Sep 17 00:00:00 2001 From: shixuantong Date: Fri, 30 May 2025 17:05:03 +0800 Subject: [PATCH] optimize sysSentry dependencies --- sysSentry.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sysSentry.spec b/sysSentry.spec index f4c7b0b..ab01fdf 100644 --- a/sysSentry.spec +++ b/sysSentry.spec @@ -4,7 +4,7 @@ Summary: System Inspection Framework Name: sysSentry Version: 1.0.2 -Release: 35 +Release: 36 License: Mulan PSL v2 Group: System Environment/Daemons Source0: https://gitee.com/openeuler/sysSentry/releases/download/v%{version}/%{name}-%{version}.tar.gz @@ -54,7 +54,6 @@ BuildRequires: chrpath BuildRequires: elfutils-devel clang libbpf-devel bpftool BuildRequires: python3-numpy python3-pytest Requires: libxalarm = %{version} -Requires: libbpf %description sysSentry provides framework tools for system inspection. @@ -121,6 +120,7 @@ This package provides CPU fault detection %package -n pysentry_collect Summary: Supports collect in python immplementation Requires: sysSentry = %{version}-%{release} +Requires: libbpf %description -n pysentry_collect This package provides Supports collect for plugins @@ -265,7 +265,6 @@ rm -rf %{buildroot} %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysSentry/inspect.conf %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysSentry/tasks/rasdaemon.mod %attr(0600,root,root) %{_unitdir}/sysSentry.service -%attr(0755,root,root) %{_bindir}/ebpf_collector # xalarm %attr(0550,root,root) %{_bindir}/xalarmd @@ -292,6 +291,7 @@ rm -rf %{buildroot} # pysentry_collect %exclude %{python3_sitelib}/sentryCollector/collect_plugin.py %exclude %{python3_sitelib}/sentryCollector/__pycache__/collect_plugin* +%exclude %{_bindir}/ebpf_collector # logrotate %dir %{_localstatedir}/lib/logrotate-syssentry @@ -361,8 +361,15 @@ rm -rf %{buildroot} %files -n pysentry_collect %attr(0550,root,root) %{python3_sitelib}/sentryCollector/collect_plugin.py %attr(0550,root,root) %{python3_sitelib}/sentryCollector/__pycache__/collect_plugin* +%attr(0755,root,root) %{_bindir}/ebpf_collector %changelog +* Fri May 30 2025 shixuantong - 1.0.2-36 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:optimize sysSentry dependencies + * Sat May 17 2025 shixuantong - 1.0.2-35 - Type:bugfix - CVE:NA -- Gitee