forked from pool/python-pytest-benchmark
- Fix buidling without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=15
This commit is contained in:
parent
ed463351e0
commit
1c44138c7c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 13 12:42:10 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix buidling without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 14:13:23 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-benchmark
|
||||
Version: 3.2.3
|
||||
Release: 0
|
||||
@ -36,10 +37,12 @@ BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git-core
|
||||
%if %{with python2}
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-pathlib2
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python-statistics
|
||||
%endif
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-py-cpuinfo
|
||||
Requires: python-pytest >= 3.8
|
||||
Requires(post): update-alternatives
|
||||
|
Loading…
Reference in New Issue
Block a user