- 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:
parent
f74e4b7f75
commit
5a88eddbca
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 11 15:55:25 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 17 15:54:39 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user