forked from pool/python-pytest-services
Accepting request 784625 from devel:languages:python:pytest
- Fix build without python2 OBS-URL: https://build.opensuse.org/request/show/784625 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-services?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 13 12:39:49 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix build without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 11:37:28 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-pytest-services
|
||||
Version: 2.0.1
|
||||
Release: 0
|
||||
@@ -33,7 +34,9 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module zc.lockfile >= 2.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with python2}
|
||||
BuildRequires: python-subprocess32
|
||||
%endif
|
||||
Requires: python-psutil
|
||||
Requires: python-pytest
|
||||
Requires: python-requests
|
||||
|
||||
Reference in New Issue
Block a user