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