From cae9389941648ab7db6769a7645dc7308ed70d0d5ad1ce01f5b24e6b6b6d62ee Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 3 Aug 2022 10:10:32 +0000 Subject: [PATCH] Accepting request 992543 from home:deneb_alpha:branches:devel:languages:python - Buildrequires cached-property always, not only for Python lower than 3.8 * This is needed due to a mismatching python-rpm-macros OBS-URL: https://build.opensuse.org/request/show/992543 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-osc-tiny?expand=0&rev=51 --- python-osc-tiny.changes | 6 ++++++ python-osc-tiny.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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