aops-vulcanus/aops-vulcanus.spec

128 lines
3.9 KiB
RPMSpec
Raw Normal View History

2022-11-22 20:45:51 +08:00
Name: aops-vulcanus
Version: v1.3.1
Release: 2
2022-11-22 20:45:51 +08:00
Summary: A basic tool libraries of aops, including logging, configure and response, etc.
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
Source0: %{name}-%{version}.tar.gz
Patch0001: 0001-update-ValidateRules.patch
2023-09-11 19:31:34 +08:00
2022-11-22 20:45:51 +08:00
BuildRequires: python3-setuptools
Requires: python3-concurrent-log-handler python3-xmltodict python3-pyyaml python3-marshmallow >= 3.13.0
Requires: python3-requests python3-xlrd python3-prettytable python3-pygments python3-sqlalchemy
Requires: python3-elasticsearch >= 7 python3-elasticsearch < 8 python3-prometheus-api-client python3-urllib3 python3-werkzeug
2022-11-22 20:45:51 +08:00
Requires: python3-flask python3-flask-restful python3-PyMySQL python3-kafka-python
2023-11-16 10:41:36 +08:00
Requires: python-jwt python3-redis python3-Flask-APScheduler >= 1.11.0
2022-11-22 20:45:51 +08:00
Provides: aops-vulcanus
Conflicts: aops-utils
%description
A basic tool libraries of aops, including logging, configure and response, etc.
%package -n aops-tools
Summary: aops scripts
Provides: aops-tools = %{version}
%description -n aops-tools
tools for aops, it's about aops deploy
%prep
%autosetup -n %{name}-%{version} -p1
2022-11-22 20:45:51 +08:00
# build for aops-vulcanus
%py3_build
# install for aops-vulcanus
%py3_install
# install for aops-tools
mkdir -p %{buildroot}/opt/aops/
cp -r scripts %{buildroot}/opt/aops/
%files
%doc README.*
%attr(0644,root,root) %{_sysconfdir}/aops/system.ini
2023-04-17 22:01:58 +08:00
%attr(0640,root,root) %{_sysconfdir}/aops/.aops-private-config.ini
2022-11-22 20:45:51 +08:00
%{python3_sitelib}/aops_vulcanus*.egg-info
%{python3_sitelib}/vulcanus/*
%attr(0755,root,root) %{_bindir}/aops-vulcanus
%files -n aops-tools
%attr(0755, root, root) /opt/aops/scripts/*
%changelog
* Thu Dec 21 2023 wenxin<wenxin32@foxmail.com> - v1.3.1-2
- add IPV4 validation method to ValidateRules
* Mon Dec 18 2023 gongzhengtang<gong_zhengtang@163.com> - v1.3.1-1
- Optimize paging statistics and software dependency versions
2023-11-16 10:41:36 +08:00
* Tue Nov 14 2023 wenxin<wenxin32@foxmail.com> - v1.3.0-8
- update spec file
* Wed Oct 25 2023 wenxin<wenxin32@foxmail.com> - v1.3.0-7
- update timed task args check
* Wed Oct 25 2023 wenxin<wenxin32@foxmail.com> - v1.3.0-6
- since there is no arm-arch package in new repo source, remove changes of the es repo source url
* Tue Oct 24 2023 wenxin<wenxin32@foxmail.com> - v1.3.0-5
- update timed task args check and timeout
- update elasticsearch repo source url
* Wed Oct 18 2023 gongzhengtang<gong_zhengtang@163.com> - v1.3.0-4
- it is suitable for version 20.03-LTS-sp3
* Tue Sep 19 2023 wenxin<shusheng.wen@outlook.com> - v1.3.0-3
- fix systemctl startup service problem
2023-09-11 19:31:34 +08:00
* Mon Sep 11 2023 zhuyuncheng<zhuyuncheng@huawei.com> - v1.3.0-2
- optimize start service check logic
2023-08-29 19:18:17 +08:00
* Tue Aug 29 2023 wenxin<shusheng.wen@outlook.com> - v1.3.0-1
- optimize project directory structure
- support database initialization script
* Thu Jun 08 2023 wenxin<shusheng.wen@outlook.com> - v1.2.1-2
- fix issue: aops-zeus app failed to load when first start by uwsgi
- add paging parameter schema
2023-05-23 14:32:29 +08:00
* Tue May 23 2023 wenxin<shusheng.wen@outlook.com> - v1.2.1-1
- add cve rollback url for aops-zeus
2023-05-09 11:26:48 +08:00
* Tue May 9 2023 wenxin<shusheng.wen@outlook.com> - v1.2.0-4
- update length limit of username field
* Mon May 8 2023 gongzhengtang<gong_zhengtang@163.com> - v1.2.0-3
- add gevent config item for uwsgi; fix old token is invalid
* Thu Apr 27 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-2
- add custom validation rules;fix script docker install error
2023-04-17 22:01:58 +08:00
* Mon Apr 17 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-1
- update token authentication method; update the structure of response body
- update database connect method
* Tue Dec 27 2022 wenxin<shusheng.wen@outlook.com> - v1.1.1-2
- Modify uwsgi configuration file fields
2022-12-02 00:07:13 +08:00
* Fri Dec 02 2022 wenxin<shusheng.wen@outlook.com> - v1.1.1-1
2023-04-17 22:01:58 +08:00
- update get response
2022-12-02 00:07:13 +08:00
2022-11-25 18:10:40 +08:00
* Fri Nov 25 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-1
- Fix bug: fix file creation error
2022-11-22 20:45:51 +08:00
* Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1
- Package init