diff --git a/python-genty.changes b/python-genty.changes index e4d3726..43ff0b1 100644 --- a/python-genty.changes +++ b/python-genty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 14 00:46:41 UTC 2020 - Benjamin Greiner + +- Fix condition around BuildRequirement + ------------------------------------------------------------------- Sun Dec 13 19:33:37 UTC 2020 - Matej Cepl diff --git a/python-genty.spec b/python-genty.spec index 472d6f6..4e7502d 100644 --- a/python-genty.spec +++ b/python-genty.spec @@ -31,8 +31,8 @@ Patch0: remove_mock.patch BuildRequires: %{python_module devel} 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