forked from pool/python-Whoosh
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=15
This commit is contained in:
@@ -21,26 +21,24 @@
|
|||||||
Name: python-Whoosh
|
Name: python-Whoosh
|
||||||
Version: 2.7.4
|
Version: 2.7.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.turbogears.org
|
|
||||||
Summary: Pure-Python full text indexing, search, and spell checking library
|
Summary: Pure-Python full text indexing, search, and spell checking library
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
URL: http://www.turbogears.org
|
||||||
Source: https://files.pythonhosted.org/packages/source/W/Whoosh/Whoosh-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/W/Whoosh/Whoosh-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION the testing dependencies
|
# SECTION the testing dependencies
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildArch: noarch
|
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Provides: python-whoosh = %{version}
|
Provides: python-whoosh = %{version}
|
||||||
Obsoletes: python-whoosh < %{version}
|
Obsoletes: python-whoosh < %{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -78,11 +76,12 @@ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.txt
|
||||||
%doc LICENSE.txt README.txt
|
%doc README.txt
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%files -n python-Whoosh-doc
|
%files -n python-Whoosh-doc
|
||||||
%doc LICENSE.txt docs/build/html
|
%license LICENSE.txt
|
||||||
|
%doc docs/build/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user