forked from pool/python-pytest-services
- Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-services?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
d4722ce8b2
commit
cadf0315e1
@@ -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>
|
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-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without python2
|
||||||
Name: python-pytest-services
|
Name: python-pytest-services
|
||||||
Version: 2.0.1
|
Version: 2.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -33,7 +34,9 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module zc.lockfile >= 2.0}
|
BuildRequires: %{python_module zc.lockfile >= 2.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
%if %{with python2}
|
||||||
BuildRequires: python-subprocess32
|
BuildRequires: python-subprocess32
|
||||||
|
%endif
|
||||||
Requires: python-psutil
|
Requires: python-psutil
|
||||||
Requires: python-pytest
|
Requires: python-pytest
|
||||||
Requires: python-requests
|
Requires: python-requests
|
||||||
|
|||||||
Reference in New Issue
Block a user