14
0

Make SPEC more SLE-15 compatible

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-osc-tiny?expand=0&rev=54
This commit is contained in:
2022-08-06 15:05:13 +00:00
committed by Git OBS Bridge
parent bd04719e47
commit a0d21819ca

View File

@@ -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