From 19a62289c1138a44ccfba78687903d4c358d26c777a6c2f3a5f413e9142b64d9 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 29 Mar 2017 08:21:55 +0000 Subject: [PATCH] Accepting request 483250 from home:tbechtold:branches:devel:languages:python - Only BuildRequire unittest2 for python2 OBS-URL: https://build.opensuse.org/request/show/483250 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jmespath?expand=0&rev=22 --- python-jmespath.changes | 5 +++++ python-jmespath.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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