diff options
Diffstat (limited to 'aops-ceres.spec')
-rw-r--r-- | aops-ceres.spec | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/aops-ceres.spec b/aops-ceres.spec new file mode 100644 index 0000000..c7d9195 --- /dev/null +++ b/aops-ceres.spec @@ -0,0 +1,91 @@ +Name: aops-ceres +Version: v1.2.1 +Release: 4 +Summary: An agent which needs to be adopted in client, it managers some plugins, such as gala-gopher(kpi collection), fluentd(log collection) and so on. +License: MulanPSL2 +URL: https://gitee.com/openeuler/%{name} +Source0: %{name}-%{version}.tar.gz +Patch0001: 0001-modify-return-value-when-no-hotpatch-is-matched.patch +Patch0002: 0002-update-cve-fix-and-cve-scan.patch +Patch0003: 0003-fix-issue-cve-fix-result-doesn-t-match-log.patch + + +BuildRequires: python3-setuptools +Requires: python3-requests python3-jsonschema python3-libconf +Requires: python3-concurrent-log-handler dmidecode +Provides: aops-ceres +Conflicts: aops-agent + + +%description +An agent which needs to be adopted in client, it managers some plugins, such as gala-gopher(kpi collection), fluentd(log collection) and so on. + + +%prep +%autosetup -n %{name}-%{version} -p1 + + +# build for aops-ceres +%py3_build + + +# install for aops-ceres +%py3_install + + +%files +%doc README.* +%attr(0644,root,root) %{_sysconfdir}/aops/ceres.conf +%attr(0644,root,root) /opt/aops/register_example.json +%{python3_sitelib}/aops_ceres*.egg-info +%{python3_sitelib}/ceres/* +%{_bindir}/aops-ceres + + +%changelog +* Fri Jun 09 2023 wenxin<shusheng.wen@outlook.com> - v1.2.1-4 +- fix issue: cve fix result doesn't match log + +* Fri Jun 02 2023 wenxin<shusheng.wen@outlook.com> - v1.2.1-3 +- update cve scan and cve fix + +* Thu Jun 01 2023 wenxin<shusheng.wen@outlook.com> - v1.2.1-2 +- modify the return result when no hot patch is matched + +* Tue May 23 2023 wenixn<shusheng.wen@outlook.com> - v1.2.1-1 +- the client supports hot patch cve rollback + +* Thu May 11 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-4 +- fix hotpatch fail show succeed bug + +* Tue May 9 2023 ptyang<1475324955@qq.com> - v1.2.0-3 +- fix hotpatch fail show succeed bug + +* Thu Apr 27 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-2 +- fix shell command return error;update registe funciton + +* Mon Apr 17 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-1 +- change usage of the ceres, don't used it as a service +- update function: scan cve and fix cve +- udpate cve fix, support for hotpatch + +* Fri Dec 23 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-4 +- Handle when the http response result is not 200 + +* Wed Dec 07 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-3 +- update cve fix + +* Wed Dec 07 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-2 +- modify args of register func, add register file template + +* Fri Nov 25 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-1 +- remove test cases that use the responses module + +* Wed Nov 23 2022 wenxin<shusheng.wen@outlook.com> - v1.0.0-3 +- remove test case: remove test case about register + +* Wed Nov 23 2022 wenxin<shusheng.wen@outlook.com> - v1.0.0-2 +- update register: add field os_version for register + +* Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1 +- Package init |