diff --git a/python-pyvmomi.spec b/python-pyvmomi.spec index f06b3b1..0b7ff90 100644 --- a/python-pyvmomi.spec +++ b/python-pyvmomi.spec @@ -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 - 8.0.0.1-1 +- Update package to version 8.0.0.1 + * Thu Jun 23 2022 SimpleUpdate Robot - 7.0.3-1 - Upgrade to version 7.0.3 diff --git a/pyvmomi-7.0.3.tar.gz b/pyvmomi-7.0.3.tar.gz deleted file mode 100644 index fa5279b..0000000 Binary files a/pyvmomi-7.0.3.tar.gz and /dev/null differ diff --git a/pyvmomi-8.0.0.1.tar.gz b/pyvmomi-8.0.0.1.tar.gz new file mode 100644 index 0000000..5ece8c0 Binary files /dev/null and b/pyvmomi-8.0.0.1.tar.gz differ