forked from pool/python-pyvmomi
Accepting request 895948 from home:pgajdos:python
- %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/895948 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyvmomi?expand=0&rev=23
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 28 10:00:57 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pyunittest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 9 17:21:04 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
@@ -41,8 +41,8 @@ BuildRequires: %{python_module vcrpy}
|
||||
# /SECTION
|
||||
Requires: python-requests >= 2.3.0
|
||||
Requires: python-six >= 1.7.3
|
||||
Recommends: python-pyOpenSSL
|
||||
Recommends: python-lxml
|
||||
Recommends: python-pyOpenSSL
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -66,7 +66,7 @@ sed -i 's/vcrpy<2/vcrpy/' test-requirements.txt
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pyunittest discover -v
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Reference in New Issue
Block a user