14
0

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
This commit is contained in:
2022-08-03 10:10:32 +00:00
committed by Git OBS Bridge
parent ab6d2927db
commit cae9389941
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 3 09:48:04 UTC 2022 - Marina Latini <marina.latini@suse.com>
- 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 <mcepl@suse.com>

View File

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