forked from pool/python-pyvmomi
Accepting request 450417 from home:frispete:python
- fix build: add python-fixtures to build dependencies OBS-URL: https://build.opensuse.org/request/show/450417 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyvmomi?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 15 11:57:13 UTC 2017 - hpj@urpla.net
|
||||||
|
|
||||||
|
- fix build: add python-fixtures to build dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 12 19:30:55 UTC 2017 - mardnh@gmx.de
|
Thu Jan 12 19:30:55 UTC 2017 - mardnh@gmx.de
|
||||||
|
|
||||||
|
@@ -26,6 +26,7 @@ Group: Development/Languages/Python
|
|||||||
Url: https://github.com/vmware/pyvmomi
|
Url: https://github.com/vmware/pyvmomi
|
||||||
Source: https://pypi.io/packages/source/p/pyvmomi/pyvmomi-%{version}.tar.gz
|
Source: https://pypi.io/packages/source/p/pyvmomi/pyvmomi-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-fixtures >= 1.3.0
|
||||||
BuildRequires: python-requests >= 2.3.0
|
BuildRequires: python-requests >= 2.3.0
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: python-six >= 1.7.3
|
BuildRequires: python-six >= 1.7.3
|
||||||
@@ -54,6 +55,8 @@ python setup.py build
|
|||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
#export PYTHONPATH=%{buildroot}%{python_sitelib}
|
||||||
|
#cd %{buildroot}%{python_sitelib}
|
||||||
python setup.py test
|
python setup.py test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Reference in New Issue
Block a user