forked from pool/python-snimpy
Fix conditions in REquires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-snimpy?expand=0&rev=20
This commit is contained in:
@@ -36,12 +36,12 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python-cffi >= 1.0.0
|
||||
Requires: python-pysnmp >= 5
|
||||
Requires: python-setuptools
|
||||
Requires: (python-pyasyncore if python-base > 3.11)
|
||||
Requires: (python-pyasyncore if python-base >= 3.12)
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module cffi >= 1.0.0}
|
||||
BuildRequires: %{python_module pyasyncore if %python-base > 3.11}
|
||||
BuildRequires: %{python_module pyasyncore if %python-base >= 3.12}
|
||||
BuildRequires: %{python_module pysnmp >= 5}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
|
Reference in New Issue
Block a user