diff --git a/sysSentry.spec b/sysSentry.spec index 51507fce95d13a63d10adb3202282a154d04545b..777ad2f65ee525932fb0cebdb42fb9f8bd74f7b1 100644 --- a/sysSentry.spec +++ b/sysSentry.spec @@ -4,7 +4,7 @@ Summary: System Inspection Framework Name: sysSentry Version: 1.0.3 -Release: 10 +Release: 11 License: Mulan PSL v2 Group: System Environment/Daemons Source0: https://gitee.com/openeuler/sysSentry/releases/download/v%{version}/%{name}-%{version}.tar.gz @@ -28,7 +28,6 @@ BuildRequires: elfutils-devel clang libbpf-devel bpftool BuildRequires: python3-numpy python3-pytest Requires: pyxalarm = %{version} -Requires: libbpf %define PYTHON_VERSION %{python3_version} %define PKGVER syssentry-%{version}-py%{PYTHON_VERSION}.egg-info @@ -89,6 +88,7 @@ This package provides Supports xalarm report for plugins %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 @@ -140,14 +140,16 @@ rm -rf /var/run/sysSentry | : # sysSentry %attr(0500,root,root) %{_bindir}/sentryctl %attr(0550,root,root) %{_bindir}/syssentry -%attr(0550,root,root) %{_bindir}/ebpf_collector %attr(0750,root,root) %config(noreplace) %{_var}/log/sysSentry %attr(0750,root,root) %config(noreplace) %{_sysconfdir}/sysSentry/tasks %attr(0750,root,root) %config(noreplace) %{_sysconfdir}/sysSentry/plugins %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysSentry/inspect.conf %attr(0600,root,root) %{_unitdir}/sysSentry.service +# pysentry_collect %exclude %{python3_sitelib}/sentryCollector/collect_plugin.py +%exclude %{_bindir}/ebpf_collector + %exclude %{python3_sitelib}/xalarm/register_xalarm.py %exclude %{python3_sitelib}/xalarm/sentry_notify.py @@ -209,6 +211,7 @@ rm -rf /var/run/sysSentry | : %files -n pysentry_collect %attr(0550,root,root) %{python3_sitelib}/sentryCollector/collect_plugin.py +%attr(0550,root,root) %{_bindir}/ebpf_collector %files -n hbm_online_repair %attr(0550,root,root) %{_bindir}/hbm_online_repair @@ -217,6 +220,12 @@ rm -rf /var/run/sysSentry | : %attr(0550,root,root) %{python3_sitelib}/syssentry/bmc_alarm.py %changelog +* Fri May 30 2025 shixuantong - 1.0.3-11 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:optimize sysSentry dependencies + * Sat Mar 29 2025 shixuantong - 1.0.3-10 - Type:bugfix - CVE:NA