1
0
forked from pool/python-Whoosh
Dirk Mueller 2023-05-03 10:42:14 +00:00 committed by Git OBS Bridge
parent 5ab63e30fc
commit 7f258fc2d4
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 3 10:41:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
- fix line endings
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 2 05:48:24 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com> Tue May 2 05:48:24 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -52,6 +52,7 @@ to add search functionality to applications and websites. Every part
of how Whoosh works can be extended or replaced to meet specific of how Whoosh works can be extended or replaced to meet specific
needs. needs.
%if 0%{?suse_version} > 1500
%package -n python-Whoosh-doc %package -n python-Whoosh-doc
Summary: Documentation for %{name} Summary: Documentation for %{name}
Group: Documentation/Other Group: Documentation/Other
@ -64,10 +65,14 @@ of how Whoosh works can be extended or replaced to meet specific
needs. needs.
This package contains the documentation. This package contains the documentation.
%endif
%prep %prep
%autosetup -p1 -n Whoosh-%{version} %autosetup -p1 -n Whoosh-%{version}
# Fix CRLF->LF
sed -i -e 's/\r$//' docs/source/api/filedb/{filestore,filetables,structfile}.rst
%build %build
%python_build %python_build
sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html