From feb3d01acd5a5b883f84ebc005ea5784c32017b3ad67e268b82f72aefab2926d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:25:57 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wikipedia?expand=0&rev=7 --- python-wikipedia.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python-wikipedia.spec b/python-wikipedia.spec index b8ee467..7e50f4d 100644 --- a/python-wikipedia.spec +++ b/python-wikipedia.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Wikipedia API for Python License: MIT Group: Development/Languages/Python -Url: https://github.com/goldsmith/Wikipedia +URL: https://github.com/goldsmith/Wikipedia Source: https://files.pythonhosted.org/packages/source/w/wikipedia/wikipedia-%{version}.tar.gz BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module nose} @@ -32,7 +32,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros Requires: python-beautifulsoup4 Requires: python-requests -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -56,11 +55,11 @@ Wikipedia data, not getting it. %check ln -s tests/request_mock_data.py . -%python_expand nosetests-%{$python_bin_suffix} +%python_expand nosetests-%{$python_bin_suffix} %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog