From 7170e3f32eca7aae4f9ad600b37a91511361bc3da5a06eaea2ebddb56f7396c8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Dec 2020 06:25:59 +0000 Subject: [PATCH] Accepting request 855631 from home:bnavigator:branches:devel:languages:python - Fix condition around BuildRequirement OBS-URL: https://build.opensuse.org/request/show/855631 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=18 --- python-requests-toolbelt.changes | 5 +++++ python-requests-toolbelt.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-requests-toolbelt.changes b/python-requests-toolbelt.changes index 5312857..1d20ef5 100644 --- a/python-requests-toolbelt.changes +++ b/python-requests-toolbelt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 14 00:35:01 UTC 2020 - Benjamin Greiner + +- Fix condition around BuildRequirement + ------------------------------------------------------------------- Sun Dec 13 21:51:50 UTC 2020 - Matej Cepl diff --git a/python-requests-toolbelt.spec b/python-requests-toolbelt.spec index 0d049f4..568be55 100644 --- a/python-requests-toolbelt.spec +++ b/python-requests-toolbelt.spec @@ -40,8 +40,8 @@ BuildRequires: %{python_module betamax >= 0.5.0} # gh#pyca/cryptography#5606 BuildRequires: %{python_module pyOpenSSL >= 19.1.0} BuildRequires: %{python_module pytest} -%ifpython2 -BuildRequires: %{python_module mock} +%if 0%{suse_version} <= 1500 +BuildRequires: python-mock %endif # /SECTION %python_subpackages