Accepting request 1092395 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible

do not use %elif for python-numpy dependency condition

OBS-URL: https://build.opensuse.org/request/show/1092395
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=88
This commit is contained in:
Dirk Mueller 2023-06-11 20:27:57 +00:00 committed by Git OBS Bridge
parent e4a86f669e
commit 7d2709819a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 11 19:51:26 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- do not use %elif for python-numpy dependency condition
-------------------------------------------------------------------
Wed Jun 7 09:13:48 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -77,11 +77,13 @@ Obsoletes: python-pandas-doc < %{version}
Provides: python-pandas-doc = %{version}
%if 0%{?python_version_nodots} >= 311
Requires: python-numpy >= 1.23.2
%elif 0%{?python_version_nodots} >= 310
%else
%if 0%{?python_version_nodots} >= 310
Requires: python-numpy >= 1.21.0
%else
Requires: python-numpy >= 1.20.3
%endif
%endif
# SECTION extras
Recommends: python-pandas-performance
Suggests: python-pandas-all