forked from pool/python-wikipedia
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wikipedia?expand=0&rev=7
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user