A-Tune-Collector/atune-collector.spec

44 lines
1.1 KiB
RPMSpec
Raw Normal View History

2021-02-08 20:17:43 +08:00
%define debug_package %{nil}
Name: atune-collector
2021-11-11 16:38:32 +08:00
Version: 1.1.0
2023-03-09 14:54:39 +08:00
Release: 2
2021-02-08 20:17:43 +08:00
Summary: A-Tune-Collector is used to collect various system resources.
License: Mulan PSL v2
URL: https://gitee.com/openeuler/A-Tune-Collector
2021-11-11 16:38:32 +08:00
Source: https://gitee.com/openeuler/A-Tune-Collector/repository/archive/v%{version}.tar.gz
2021-02-08 20:17:43 +08:00
2023-03-09 14:54:39 +08:00
Patch0: 0001-fix-bug-list-index-out-of-range-in-virtualbox.patch
2021-02-08 20:17:43 +08:00
BuildRequires: python3-setuptools
Requires: python3-dict2xml
%description
The A-Tune-Collector is used to collect various system resources and can also be used as the collector of the A-Tune project.
%prep
2021-11-11 16:38:32 +08:00
%autosetup -n A-Tune-Collector-v%{version} -p1
2021-02-08 20:17:43 +08:00
%build
%{py3_build}
%install
%{py3_install}
%check
%files
%license LICENSE
%{python3_sitelib}/atune_*
%attr(0600,root,root) %{_sysconfdir}/atune_collector/*
%changelog
2023-03-09 14:54:39 +08:00
* Thu Mar 09 2023 zhangjian <zhang_jian7@hoperun.com> - 1.1.0-2
- fix bug: list index out of range in virtualbox
2021-11-11 16:38:32 +08:00
* Thu Nov 11 2021 hanxinke <hanxinke@huawei.com> - 1.1.0-1
- upgrade to v1.1.0
2021-02-08 20:17:43 +08:00
* Wed Feb 10 2021 hanxinke <hanxinke@huawei.com> - 1.0-1
- Package init