!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:
commit
1a1ad76291
19
eagle.spec
19
eagle.spec
@ -1,23 +1,22 @@
|
|||||||
Name: python-mpctool
|
Name: eagle
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: mpctool
|
Summary: eagle kit
|
||||||
License: Mulan PSL v2
|
License: Mulan PSL v2
|
||||||
URL: https://gitee.com/openeuler/eagle
|
URL: https://gitee.com/openeuler/eagle
|
||||||
Source0: mpctool.tar.gz
|
Source0: eagle-mpctool.tar.gz
|
||||||
|
|
||||||
Requires: python3-numpy python3-pandas python3-psutil
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
%package -n python3-mpctool
|
%package -n python3-eagle-mpctool
|
||||||
Summary: Python3 package for python-mpctool
|
Summary: Python3 package for python-ealge-mpctool
|
||||||
BuildRequires: python3-devel python3-setuptools
|
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
|
%prep
|
||||||
@ -30,12 +29,12 @@ BuildRequires: python3-numpy python3-pandas python3-psutil
|
|||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-mpctool
|
%files -n python3-eagle-mpctool
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/mpctool
|
%{_bindir}/mpctool
|
||||||
/usr/lib/systemd/system/mpctool.service
|
/usr/lib/systemd/system/mpctool.service
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
- First Release
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user