!3 Match the package name with the library name.

From: @queyanwen 
Reviewed-by: @jimmy-jiang-junior 
Signed-off-by: @jimmy-jiang-junior
This commit is contained in:
openeuler-ci-bot 2023-03-15 11:21:16 +00:00 committed by Gitee
commit 1a1ad76291
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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