14
0
forked from pool/python-Whoosh
2018-12-04 17:25:52 +00:00
committed by Git OBS Bridge
parent 0b8fd20a5a
commit 73f977b701

View File

@@ -21,26 +21,24 @@
Name: python-Whoosh
Version: 2.7.4
Release: 0
Url: http://www.turbogears.org
Summary: Pure-Python full text indexing, search, and spell checking library
License: BSD-2-Clause
Group: Development/Languages/Python
URL: http://www.turbogears.org
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 setuptools}
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION the testing dependencies
%if %{with test}
BuildRequires: %{python_module pytest}
%endif
# /SECTION
BuildArch: noarch
%ifpython2
Provides: python-whoosh = %{version}
Obsoletes: python-whoosh < %{version}
%endif
%python_subpackages
%description
@@ -78,11 +76,12 @@ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.txt
%license LICENSE.txt
%doc README.txt
%{python_sitelib}/*
%files -n python-Whoosh-doc
%doc LICENSE.txt docs/build/html
%license LICENSE.txt
%doc docs/build/html
%changelog