diff --git a/python-osc-tiny.spec b/python-osc-tiny.spec index d764955..5d4903a 100644 --- a/python-osc-tiny.spec +++ b/python-osc-tiny.spec @@ -45,7 +45,11 @@ Requires: python-responses Suggests: openssh BuildArch: noarch # Using 'if' instead of 'with' because the latter requires rpm >= 4.14 +%if 0%{?suse_version} >= 1550 BuildRequires: %{python_module cached-property if %python-base < 3.8} +%else +BuildRequires: %{python_module cached-property} +%endif Requires: (python-cached-property if python-base < 3.8) %python_subpackages