forked from pool/python-pyparsing
- Do not BuildRequire python-unittest2 when no tests are executed.
This breaks a build cycle for pyparsing->unittest2->traceback2->pbr-> Pygments->pytest->setuptools_scm->packaging which needs pyparsing OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=61
This commit is contained in:
committed by
Git OBS Bridge
parent
f74e4b7f75
commit
5a88eddbca
@@ -41,9 +41,11 @@ Source: pyparsing-%{version}.tar.xz
|
||||
Patch0: nose_to_unittest.patch
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%if "%{flavor}" == "test"
|
||||
# Not necessary for python3, but tests fail with the standard unittest
|
||||
# and python 2.7
|
||||
BuildRequires: %{python_module unittest2}
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
#!BuildIgnore: python2-pyparsing
|
||||
|
Reference in New Issue
Block a user