SHA256
1
0
forked from pool/python-pysmi
Matej Cepl 2018-12-04 17:20:01 +00:00 committed by Git OBS Bridge
parent 7f5d852c0e
commit e6f6687785

View File

@ -23,17 +23,15 @@ Release: 0
Summary: SNMP SMI/MIB Parser
License: BSD-2-Clause
Group: Development/Languages/Python
Url: http://pysmi.sourceforge.net/
URL: http://pysmi.sourceforge.net/
Source: https://files.pythonhosted.org/packages/source/p/pysmi/pysmi-%{version}.tar.gz
BuildRequires: %{python_module ply}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-ply
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
%description
@ -64,8 +62,8 @@ mv %{buildroot}%{_bindir}/mibdump.py %{buildroot}%{_bindir}/mibdump
#nosetests # cannot be run without pysmnp which needs this package
%files %{python_files}
%defattr(-,root,root,-)
%doc README.md LICENSE.rst CHANGES.rst
%license LICENSE.rst
%doc README.md CHANGES.rst
%{python_sitelib}/*
%python_alternative %{_bindir}/mibdump