From e6f9326c3fe92819d74576d76ff7da317f84a9ad Mon Sep 17 00:00:00 2001 From: zhangy1317 Date: Thu, 28 Jan 2021 17:16:30 +0800 Subject: [PATCH] Add BuildRequires --- python-pyghmi.spec | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/python-pyghmi.spec b/python-pyghmi.spec index a421a7c..04a2d74 100644 --- a/python-pyghmi.spec +++ b/python-pyghmi.spec @@ -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 +- Add buildrequires * Wed Nov 25 2020 Python_Bot - Package Spec generated -- Gitee