forked from pool/python-pyvmomi
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
This commit is contained in:
committed by
Git OBS Bridge
parent
d0b2cfa2b5
commit
c45ef49984
3
python-pyvmomi-6.7.0.tar.gz
Normal file
3
python-pyvmomi-6.7.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb7562f7d831a1495d7a260d2e68583ededc7f5e005d9ff1cc8d43aa5d685d90
|
||||
size 1000757
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c28292594281901e894c39a0c06b4126a9c019b3d804c47fb116472299dbb42d
|
||||
size 252077
|
Reference in New Issue
Block a user