diff --git a/python-pyvmomi.spec b/python-pyvmomi.spec index fdef644fade666c6e277009a3c13cf7419cb5904..fd03ad48d60bba83786cb5c68b80878eed283d37 100644 --- a/python-pyvmomi.spec +++ b/python-pyvmomi.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-pyvmomi -Version: 8.0.3.0.1 +Version: 9.0.0.0 Release: 1 Summary: VMware vSphere Python SDK License: Apache-2.0 URL: https://github.com/vmware/pyvmomi -Source0: https://files.pythonhosted.org/packages/6d/78/4a3847c0487283e57679364b5797ee8f7a2c40a13bccdb430864e9190782/pyvmomi-8.0.3.0.1.tar.gz +Source0: https://github.com/vmware/pyvmomi/archive/v%{version}.tar.gz#/pyvmomi-%{version}.tar.gz BuildArch: noarch %description @@ -29,10 +29,10 @@ pyVmomi is the Python SDK for the VMware vSphere API that allows you to manage E %autosetup -n pyvmomi-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -41,34 +41,19 @@ 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 -fi -if [ -d usr/lib64 ]; then - 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 -fi -if [ -d usr/sbin ]; then - 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 -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . - -%files -n python3-pyvmomi -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst + +%files -n python3-pyvmomi +%{python3_sitelib}/* + +%files help %{_docdir}/* %changelog +* Fri Aug 15 2025 Ge Wang - 9.0.0.0-1 +- Update package to version 9.0.0.0 + * Dependency on pyOpenSSL is limited to '<24.3.0' because of breaking changes. + * SoapStubAdapter and the connect.py wrappers now allows passing a serverPemCert parameter + * Added TOML config * Tue Aug 20 2024 dongjiao - 8.0.3.0.1-1 - Update package to version 8.0.3.0.1 - Added support for vSAN Health APIs diff --git a/pyvmomi-8.0.3.0.1.tar.gz b/pyvmomi-8.0.3.0.1.tar.gz deleted file mode 100644 index 201614594949b8287d5b764176c352da24dd1d86..0000000000000000000000000000000000000000 Binary files a/pyvmomi-8.0.3.0.1.tar.gz and /dev/null differ diff --git a/pyvmomi-9.0.0.0.tar.gz b/pyvmomi-9.0.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a719f22f3312807abf8736277794a2662dacca82 Binary files /dev/null and b/pyvmomi-9.0.0.0.tar.gz differ