forked from pool/python-pysmi
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysmi?expand=0&rev=11
This commit is contained in:
parent
7f5d852c0e
commit
e6f6687785
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user