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