Accepting request 1084256 from devel:languages:python

- fix line endings

OBS-URL: https://build.opensuse.org/request/show/1084256
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Whoosh?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2023-05-04 15:09:35 +00:00 committed by Git OBS Bridge
commit 356b0e6e86
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>

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