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