From c45ef49984b4309bb6d7b1dd172e519a746b61afd7aacde9896c4bbca254c080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 18 Apr 2018 19:06:26 +0000 Subject: [PATCH] Accepting request 597869 from home:mnhauke - Update to version 6.7 * Publish new bindings to support vSphere 6.7 - Change URL to download sources from github - Remove hotfix macro - Enable tests OBS-URL: https://build.opensuse.org/request/show/597869 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyvmomi?expand=0&rev=8 --- python-pyvmomi-6.7.0.tar.gz | 3 +++ python-pyvmomi.changes | 9 +++++++++ python-pyvmomi.spec | 36 +++++++++++++---------------------- pyvmomi-6.5.0.2017.5-1.tar.gz | 3 --- 4 files changed, 25 insertions(+), 26 deletions(-) create mode 100644 python-pyvmomi-6.7.0.tar.gz delete mode 100644 pyvmomi-6.5.0.2017.5-1.tar.gz diff --git a/python-pyvmomi-6.7.0.tar.gz b/python-pyvmomi-6.7.0.tar.gz new file mode 100644 index 0000000..962286a --- /dev/null +++ b/python-pyvmomi-6.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb7562f7d831a1495d7a260d2e68583ededc7f5e005d9ff1cc8d43aa5d685d90 +size 1000757 diff --git a/python-pyvmomi.changes b/python-pyvmomi.changes index c305422..662c8e0 100644 --- a/python-pyvmomi.changes +++ b/python-pyvmomi.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 18 17:58:09 UTC 2018 - mardnh@gmx.de + +- Update to version 6.7 + * Publish new bindings to support vSphere 6.7 +- Change URL to download sources from github +- Remove hotfix macro +- Enable tests + ------------------------------------------------------------------- Sat Mar 3 18:41:57 UTC 2018 - arun@gmx.de diff --git a/python-pyvmomi.spec b/python-pyvmomi.spec index 36b5d86..bbaab72 100644 --- a/python-pyvmomi.spec +++ b/python-pyvmomi.spec @@ -17,23 +17,16 @@ # -# They have released version to hotfix issue so this "thing" -%define hotfix 1 -%if %{defined hotfix} -%define version_suffix -%{hotfix} -%endif - %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test - +%bcond_without test Name: python-pyvmomi -Version: 6.5.0.2017.5 +Version: 6.7.0 Release: 0 Summary: VMware vSphere Python SDK License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/vmware/pyvmomi -Source: https://pypi.io/packages/source/p/pyvmomi/pyvmomi-%{version}%{?version_suffix}.tar.gz +URL: https://github.com/vmware/pyvmomi +Source: https://github.com/vmware/pyvmomi/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module fixtures >= 1.3.0} BuildRequires: %{python_module requests >= 2.3.0} @@ -41,15 +34,14 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.7.3} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module testtools >= 0.9.34} -%endif -BuildRequires: %{python_module vcrpy} Requires: python-requests >= 2.3.0 Requires: python-six >= 1.7.3 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - +%if %{with test} +BuildRequires: %{python_module testtools >= 0.9.34} +BuildRequires: %{python_module tox} +BuildRequires: %{python_module vcrpy} +%endif %python_subpackages %description @@ -72,14 +64,12 @@ sed -i 's/\r//' *.txt %if %{with test} %check -#export PYTHONPATH=%%{buildroot}%%{python_sitelib} -#cd %%{buildroot}%%{python_sitelib} -%python_expand setup.py test +%python_exec setup.py test %endif -%files %python_files -%defattr(-,root,root,-) -%doc LICENSE.txt NOTICE.txt README.rst +%files %{python_files} +%license LICENSE.txt +%doc NOTICE.txt README.rst %{python_sitelib}/pyVim %{python_sitelib}/pyVmomi %{python_sitelib}/pyvmomi-%{version}*-py%{py_ver}.egg-info diff --git a/pyvmomi-6.5.0.2017.5-1.tar.gz b/pyvmomi-6.5.0.2017.5-1.tar.gz deleted file mode 100644 index 5d354cd..0000000 --- a/pyvmomi-6.5.0.2017.5-1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c28292594281901e894c39a0c06b4126a9c019b3d804c47fb116472299dbb42d -size 252077