update version to 1.5.23

This commit is contained in:
FFrog 2021-08-06 15:13:22 +08:00
parent 55019072d1
commit f6ea55b1a9
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
Name: python-pyghmi
Version: 1.5.19
Release: 2
Summary: Python General Hardware Management Initiative (IPMI and others)
License: Apache-2.0
URL: http://github.com/openstack/pyghmi/
Source0: https://files.pythonhosted.org/packages/1a/d1/09c5dfc3dcd022911c49389a178d01e6869c25db9a1d76db7d27a5a01ce6/pyghmi-1.5.19.tar.gz
BuildArch: noarch
Requires: python3-cryptography
Requires: python3-dateutil
Requires: python3-six
Name: python-pyghmi
Version: 1.5.23
Release: 1
Summary: Python General Hardware Management Initiative (IPMI and others)
License: Apache-2.0
URL: http://github.com/openstack/pyghmi/
Source0: https://files.pythonhosted.org/packages/f0/59/18f0a8cb5dba3226cbf259c1875a5d4d2151229a70ebb888e7bb9ad631fd/pyghmi-1.5.23.tar.gz
BuildArch: noarch
%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
Summary: Python General Hardware Management Initiative (IPMI and others)
Provides: python-pyghmi
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Summary: Python General Hardware Management Initiative (IPMI and others)
Provides: python-pyghmi
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
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
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
Summary: Development documents and examples for pyghmi
Provides: python3-pyghmi-doc
Summary: Python General Hardware Management Initiative (IPMI and others)
Provides: python3-pyghmi-doc
%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
%autosetup -n pyghmi-1.5.19
%autosetup -n pyghmi-1.5.23
%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
pushd %{buildroot}
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
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
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
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
touch doclist.lst
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
popd
mv %{buildroot}/filelist.lst .
@ -81,6 +80,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%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>
- Add buildrequires
* Wed Nov 25 2020 Python_Bot <Python_Bot@openeuler.org>