forked from pool/python-snimpy
Accepting request 1158277 from home:mcalabkova:branches:devel:languages:python
- Really add dependency on pyasyncore OBS-URL: https://build.opensuse.org/request/show/1158277 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-snimpy?expand=0&rev=17
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-snimpy
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2016-2021, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -38,12 +38,19 @@ BuildRequires: %{python_module cffi >= 1.0.0}
|
||||
BuildRequires: %{python_module pysnmp >= 5}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%if 0%{?suse_version} >= 1699
|
||||
# The classic "if %%python-base > 3.11" made the build unresolvable (at least for me). Sorry for this, feel free to rewrite.
|
||||
BuildRequires: python312-pyasyncore
|
||||
%endif
|
||||
# /SECTION
|
||||
Requires: python-cffi >= 1.0.0
|
||||
Requires: python-pysnmp >= 5
|
||||
Requires: python-setuptools
|
||||
%if 0%{?python_version_nodots} > 311
|
||||
Requires: python-pyasyncore
|
||||
%endif
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
Reference in New Issue
Block a user