diff --git a/python-jmespath.changes b/python-jmespath.changes index 1ec19e7..06a41e8 100644 --- a/python-jmespath.changes +++ b/python-jmespath.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 29 08:16:19 UTC 2017 - tbechtold@suse.com + +- Only BuildRequire unittest2 for python2 + ------------------------------------------------------------------- Thu Mar 16 18:43:59 UTC 2017 - rjschwei@suse.com diff --git a/python-jmespath.spec b/python-jmespath.spec index d1fac20..21493fd 100644 --- a/python-jmespath.spec +++ b/python-jmespath.spec @@ -30,9 +30,11 @@ BuildRequires: %{python_module ply >= 3.4} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module simplejson} BuildRequires: python-rpm-macros -# Testing +# Testing BuildRequires: %{python_module nose} -BuildRequires: %{python_module unittest2} +%ifpython2 +BuildRequires: python-unittest2 +%endif Requires: python-base Requires: python-ply >= 3.4 Requires: python-simplejson