Match the package name with the library name.

This commit is contained in:
queyanwen 2023-03-15 18:59:15 +08:00
parent 19a3d3d3bc
commit 6848c61a72
2 changed files with 9 additions and 10 deletions

View File

@ -1,23 +1,22 @@
Name: python-mpctool
Name: eagle
Version: 1.0.0
Release: 1
Summary: mpctool
Summary: eagle kit
License: Mulan PSL v2
URL: https://gitee.com/openeuler/eagle
Source0: mpctool.tar.gz
Source0: eagle-mpctool.tar.gz
Requires: python3-numpy python3-pandas python3-psutil
%description
%define debug_package %{nil}
%package -n python3-mpctool
Summary: Python3 package for python-mpctool
%package -n python3-eagle-mpctool
Summary: Python3 package for python-ealge-mpctool
BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-numpy python3-pandas python3-psutil
Requires: python3-numpy python3-pandas python3-psutil ipmitool
%description -n python3-mpctool
%description -n python3-eagle-mpctool
%prep
@ -30,12 +29,12 @@ BuildRequires: python3-numpy python3-pandas python3-psutil
%py3_install
%files -n python3-mpctool
%files -n python3-eagle-mpctool
%defattr(-,root,root)
%{_bindir}/mpctool
/usr/lib/systemd/system/mpctool.service
%{python3_sitelib}/*
%changelog
* Sun Mar 12 2023 queyanwen<queyanwen@huawei.com> - 1.0.0-1
* Wed Mar 15 2023 queyanwen<queyanwen@huawei.com> - 1.0.0-1
- First Release