14
0
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:
2024-03-15 17:05:18 +00:00
committed by Git OBS Bridge
parent 72faea9516
commit 16b0c6bebb
2 changed files with 14 additions and 2 deletions

View File

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

View File

@@ -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,10 +38,17 @@ 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
%python_subpackages