From e6f668778510a056582d6e519217d94e9d500c81faf2d29f3b5c18a0e843ca94 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:20:01 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysmi?expand=0&rev=11 --- python-pysmi.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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