!9 update version to 1.5.23

From: @ffrog
Reviewed-by: @huangtianhua
Signed-off-by: @huangtianhua
This commit is contained in:
openeuler-ci-bot 2021-08-09 12:14:15 +00:00 committed by Gitee
commit 5d879a671e
3 changed files with 36 additions and 35 deletions

Binary file not shown.

BIN
pyghmi-1.5.23.tar.gz Normal file

Binary file not shown.

View File

@ -1,47 +1,46 @@
%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.23
Release: 2 Release: 1
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/
Source0: https://files.pythonhosted.org/packages/1a/d1/09c5dfc3dcd022911c49389a178d01e6869c25db9a1d76db7d27a5a01ce6/pyghmi-1.5.19.tar.gz Source0: https://files.pythonhosted.org/packages/f0/59/18f0a8cb5dba3226cbf259c1875a5d4d2151229a70ebb888e7bb9ad631fd/pyghmi-1.5.23.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: python3-cryptography
Requires: python3-dateutil
Requires: python3-six
%description %description
This is a pure python implementation of IPMI protocol. Pyghmi is a pure Python (mostly IPMI) server management library.
pyghmicons and pyghmiutil are example scripts to show how one may incorporate
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 # Base build requires
BuildRequires: python3-setuptools BuildRequires: python3-devel
BuildRequires: python3-pip BuildRequires: python3-setuptools
BuildRequires: python3-pbr BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-cryptography
BuildRequires: python3-dateutil
BuildRequires: python3-six
# General requires
Requires: python3-cryptography
Requires: python3-dateutil
Requires: python3-six
%description -n python3-pyghmi %description -n python3-pyghmi
This is a pure python implementation of IPMI protocol. Pyghmi is a pure Python (mostly IPMI) server management library.
pyghmicons and pyghmiutil are example scripts to show how one may incorporate
this library into python code
%package help %package help
Summary: Development documents and examples for pyghmi Summary: Python General Hardware Management Initiative (IPMI and others)
Provides: python3-pyghmi-doc Provides: python3-pyghmi-doc
%description help %description help
This is a pure python implementation of IPMI protocol. Pyghmi is a pure Python (mostly IPMI) server management library.
pyghmicons and pyghmiutil are example scripts to show how one may incorporate
this library into python code
%prep %prep
%autosetup -n pyghmi-1.5.19 %autosetup -n pyghmi-1.5.23
%build %build
%py3_build %py3_build
@ -55,20 +54,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot} pushd %{buildroot}
if [ -d usr/lib ]; then if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/lib64 ]; then if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/bin ]; then if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/sbin ]; then if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
touch doclist.lst touch doclist.lst
if [ -d usr/share/man ]; then if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi fi
popd popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
@ -81,6 +80,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri Aug 06 2021 OpenStack_SIG <openstack@openeuler.org> - 1.5.23-1
- Update version to 1.5.23
* Thu Jan 28 2021 zhangy <zhangy1317@foxmail.com> * Thu Jan 28 2021 zhangy <zhangy1317@foxmail.com>
- Add buildrequires - Add buildrequires
* Wed Nov 25 2020 Python_Bot <Python_Bot@openeuler.org> * Wed Nov 25 2020 Python_Bot <Python_Bot@openeuler.org>