From dc464c80a826142a7ca4172d195d90f7bc2a04719d7706fd198bf37797f2803a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 15 Feb 2019 11:55:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pygments-pytest?expand=0&rev=3 --- python-pygments-pytest.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-pygments-pytest.spec b/python-pygments-pytest.spec index d8763f1..340750e 100644 --- a/python-pygments-pytest.spec +++ b/python-pygments-pytest.spec @@ -26,9 +26,10 @@ Group: Development/Languages/Python URL: https://github.com/asottile/pygments-pytest Source: https://github.com/asottile/pygments-pytest/archive/v%{version}.tar.gz BuildRequires: %{python_module pygments} -BuildRequires: %{python_module pytest >= 4.0.1} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module importlib-metadata} +BuildRequires: %{python_module pygments-ansi-color} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pygments @@ -48,7 +49,8 @@ BuildArch: noarch %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v +# test_versions - check we do not care about for git verification +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not test_versions' %files %{python_files} %doc README.md