diff --git a/python-geventhttpclient.changes b/python-geventhttpclient.changes index a067ef7..51311d4 100644 --- a/python-geventhttpclient.changes +++ b/python-geventhttpclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 14 00:36:02 UTC 2020 - Benjamin Greiner + +- Fix condition around BuildRequirement + ------------------------------------------------------------------- Sun Dec 13 20:26:16 UTC 2020 - Matej Cepl diff --git a/python-geventhttpclient.spec b/python-geventhttpclient.spec index 45d3484..08d9d1b 100644 --- a/python-geventhttpclient.spec +++ b/python-geventhttpclient.spec @@ -35,8 +35,8 @@ BuildRequires: %{python_module gevent} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -%ifpython2 -BuildRequires: %{python_module mock} +%if 0%{?suse_version} <= 1500 +BuildRequires: python-mock %endif BuildRequires: fdupes BuildRequires: python-rpm-macros