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
|
Summary: SNMP SMI/MIB Parser
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/p/pysmi/pysmi-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module ply}
|
BuildRequires: %{python_module ply}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-ply
|
Requires: python-ply
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -64,8 +62,8 @@ mv %{buildroot}%{_bindir}/mibdump.py %{buildroot}%{_bindir}/mibdump
|
|||||||
#nosetests # cannot be run without pysmnp which needs this package
|
#nosetests # cannot be run without pysmnp which needs this package
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.rst
|
||||||
%doc README.md LICENSE.rst CHANGES.rst
|
%doc README.md CHANGES.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
%python_alternative %{_bindir}/mibdump
|
%python_alternative %{_bindir}/mibdump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user