diff --git a/aops-apollo-v1.1.0.tar.gz b/aops-apollo-v1.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ca55467b17d4dac77c205bed7b5c796f6f5db5bd Binary files /dev/null and b/aops-apollo-v1.1.0.tar.gz differ diff --git a/aops-apollo.spec b/aops-apollo.spec new file mode 100644 index 0000000000000000000000000000000000000000..9d4a62fdd27c847a30334e412bd10954c3c069eb --- /dev/null +++ b/aops-apollo.spec @@ -0,0 +1,47 @@ +Name: aops-apollo +Version: v1.1.0 +Release: 1 +Summary: Cve management service, monitor machine vulnerabilities and provide fix functions. +License: MulanPSL2 +URL: https://gitee.com/openeuler/%{name} +Source0: %{name}-%{version}.tar.gz + +BuildRequires: python3-setuptools +Requires: aops-vulcanus >= %{version}-%{release} +Requires: python3-elasticsearch python3-flask-restful python3-marshmallow >= 3.13.0 +Requires: python3-sqlalchemy python3-PyMySQL python3-Flask-APScheduler >= 1.11.0 +Requires: python3-PyYAML python3-flask +Provides: aops-apollo + + +%description +Cve management service, monitor machine vulnerabilities and provide fix functions. + + +%prep +%autosetup -n %{name}-%{version} + + +# build for aops-apollo +%py3_build + + +# install for aops-apollo +%py3_install + + +%files +%doc README.* +%attr(0644,root,root) %{_sysconfdir}/aops/apollo.ini +%attr(0755,root,root) %{_bindir}/aops-apollo +%attr(0755,root,root) /usr/lib/systemd/system/aops-apollo.service +%{python3_sitelib}/aops_apollo*.egg-info +%{python3_sitelib}/apollo/* + + +%changelog +* Fri Nov 25 2022 wenxin - v1.1.0-1 +- version update + +* Wed Oct 19 2022 zhuyuncheng - v1.0.0-1 +- Package init