forked from pool/python-snimpy
- Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-snimpy?expand=0&rev=18
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 15 17:11:26 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Clean up the SPEC file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 15 15:39:11 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
Fri Mar 15 15:39:11 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -33,24 +33,19 @@ BuildRequires: %{python_module wheel}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libsmi-devel
|
BuildRequires: libsmi-devel
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
|
||||||
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-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 if python-base > 3.11)
|
||||||
Requires: python-pyasyncore
|
|
||||||
%endif
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): 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 pysnmp >= 5}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Reference in New Issue
Block a user