diff --git a/python-osc-tiny.changes b/python-osc-tiny.changes index 91e6326..3103743 100644 --- a/python-osc-tiny.changes +++ b/python-osc-tiny.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 3 09:48:04 UTC 2022 - Marina Latini + +- Buildrequires cached-property always, not only for Python lower than 3.8 + * This is needed due to a mismatching python-rpm-macros + ------------------------------------------------------------------- Wed Aug 3 08:01:55 UTC 2022 - Matej Cepl diff --git a/python-osc-tiny.spec b/python-osc-tiny.spec index b081637..6f30fc6 100644 --- a/python-osc-tiny.spec +++ b/python-osc-tiny.spec @@ -27,6 +27,7 @@ Group: Development/Languages/Python URL: https://github.com/crazyscientist/osc-tiny Source: https://files.pythonhosted.org/packages/source/o/osc-tiny/osc-tiny-%{version}.tar.gz BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module cached-property} BuildRequires: %{python_module lxml} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil} @@ -44,7 +45,6 @@ Requires: python-requests Requires: python-responses Suggests: openssh BuildArch: noarch -BuildRequires: %{python_module cached-property if %python-base < 3.8} # Using 'and' instead of 'with' because the latter requires rpm >= 4.14 Requires: (python-cached-property and python-base < 3.8) %python_subpackages