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,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 15 15:39:11 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Really add dependency on pyasyncore
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 29 10:26:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Dec 29 10:26:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-snimpy
|
# 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>
|
# Copyright (c) 2016-2021, Martin Hauke <mardnh@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# 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 pysnmp >= 5}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
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
|
# /SECTION
|
||||||
Requires: python-cffi >= 1.0.0
|
Requires: python-cffi >= 1.0.0
|
||||||
Requires: python-pysnmp >= 5
|
Requires: python-pysnmp >= 5
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
|
%if 0%{?python_version_nodots} > 311
|
||||||
|
Requires: python-pyasyncore
|
||||||
|
%endif
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Reference in New Issue
Block a user