diff --git a/python-pysmi.spec b/python-pysmi.spec index d646ba5..8f99d04 100644 --- a/python-pysmi.spec +++ b/python-pysmi.spec @@ -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