%define debug_package %{nil} Name: atune-collector Version: 1.0 Release: 1 Summary: A-Tune-Collector is used to collect various system resources. License: Mulan PSL v2 URL: https://gitee.com/openeuler/A-Tune-Collector Source: https://gitee.com/openeuler/A-Tune-Collector/repository/archive/%{name}-v%{version}.tar.gz 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 %autosetup -n A-Tune-Collector -p1 %build %{py3_build} %install %{py3_install} %check %files %license LICENSE %{python3_sitelib}/atune_* %attr(0600,root,root) %{_sysconfdir}/atune_collector/* %changelog * Wed Feb 10 2021 hanxinke - 1.0-1 - Package init