Add BuildRequires

This commit is contained in:
zhangy1317 2021-01-28 17:16:30 +08:00
parent 16ad03925c
commit e6f9326c3f

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-pyghmi
Version: 1.5.19
Release: 1
Release: 2
Summary: Python General Hardware Management Initiative (IPMI and others)
License: Apache-2.0
URL: http://github.com/openstack/pyghmi/
@ -18,25 +18,19 @@ This is a pure python implementation of IPMI protocol.
pyghmicons and pyghmiutil are example scripts to show how one may incorporate
this library into python code
%package -n python3-pyghmi
Summary: Python General Hardware Management Initiative (IPMI and others)
Provides: python-pyghmi
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-pbr
%description -n python3-pyghmi
This is a pure python implementation of IPMI protocol.
pyghmicons and pyghmiutil are example scripts to show how one may incorporate
this library into python code
%package help
Summary: Development documents and examples for pyghmi
Provides: python3-pyghmi-doc
@ -46,10 +40,6 @@ This is a pure python implementation of IPMI protocol.
pyghmicons and pyghmiutil are example scripts to show how one may incorporate
this library into python code
%prep
%autosetup -n pyghmi-1.5.19
@ -91,5 +81,7 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Thu Jan 28 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires
* Wed Nov 25 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated