!10 Upgrade to latest release [python-pyvmomi -> 8.0.0.1]

From: @Wangjunqi123 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-12-19 12:27:16 +00:00 committed by Gitee
commit 4cdc55213d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 11 additions and 8 deletions

View File

@ -1,35 +1,32 @@
%global _empty_manifest_terminate_build 0
Name: python-pyvmomi
Version: 7.0.3
Version: 8.0.0.1
Release: 1
Summary: VMware vSphere Python SDK
License: Apache-2.0
URL: https://github.com/vmware/pyvmomi
Source0: https://files.pythonhosted.org/packages/d5/d1/effec9e03f9c0a0eba9c03ba8708807bad7b335341bf755cd88d110ce29d/pyvmomi-7.0.3.tar.gz
Source0: https://files.pythonhosted.org/packages/9f/9d/c6791ebce0a339b9cb9502193dcb9bd623a09d8eb93c0215abd7d1480936/pyvmomi-8.0.0.1.tar.gz
BuildArch: noarch
%description
pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter.
%package -n python3-pyvmomi
Summary: VMware vSphere Python SDK
Provides: python-pyvmomi
Provides: python-pyvmomi = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-pyvmomi
pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter.
%package help
Summary: Development documents and examples for pyvmomi
Provides: python3-pyvmomi-doci
Provides: python3-pyvmomi-doc
%description help
pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter.
%prep
%autosetup -n pyvmomi-7.0.3
%autosetup -n pyvmomi-%{version}
%build
%py3_build
@ -41,6 +38,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -69,6 +69,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Fri Dec 16 2022 wangjunqi <wangjunqi@kylinos.cn> - 8.0.0.1-1
- Update package to version 8.0.0.1
* Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 7.0.3-1
- Upgrade to version 7.0.3

Binary file not shown.

BIN
pyvmomi-8.0.0.1.tar.gz Normal file

Binary file not shown.