forked from pool/python-pysmi
- Redownload tarball from GitHub (missing tests, gh#lextudio/pysnmp#197)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysmi?expand=0&rev=34
This commit is contained in:
@@ -37,7 +37,8 @@ Release: 0
|
||||
Summary: SNMP SMI/MIB Parser
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/lextudio/pysmi
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pysmi/pysmi-%{version}.tar.gz
|
||||
# Source: https://files.pythonhosted.org/packages/source/p/pysmi/pysmi-%%{version}.tar.gz
|
||||
Source: https://github.com/lextudio/pysmi/archive/refs/tags/v%{version}.tar.gz#/pysmi-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
@@ -85,7 +86,7 @@ Can produce PySNMP MIB modules.
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
%pytest
|
||||
%pytest tests/
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
Reference in New Issue
Block a user