From 7f258fc2d40e0fef125666753475e0a6ca4dab2c98f774fc9b4e45e7a90a6c65 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 3 May 2023 10:42:14 +0000 Subject: [PATCH] - fix line endings OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=26 --- python-Whoosh.changes | 5 +++++ python-Whoosh.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/python-Whoosh.changes b/python-Whoosh.changes index f2faf36..c89d18e 100644 --- a/python-Whoosh.changes +++ b/python-Whoosh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 3 10:41:31 UTC 2023 - Dirk Müller + +- fix line endings + ------------------------------------------------------------------- Tue May 2 05:48:24 UTC 2023 - Daniel Garcia diff --git a/python-Whoosh.spec b/python-Whoosh.spec index fb1334f..98b44bd 100644 --- a/python-Whoosh.spec +++ b/python-Whoosh.spec @@ -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