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:
2020-03-26 23:22:27 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 0 deletions

View File

@@ -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>

View File

@@ -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