From 9d2db2b7d6ac615b6bf3482daa7d3630ffda89cba403efbfcd500b4d75ba37ac Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 14 Aug 2025 10:19:44 +0000 Subject: [PATCH] - Silence reporting unavoidable duplicates. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=35 --- python-Whoosh.changes | 5 +++++ python-Whoosh.rpmlintrc | 1 + python-Whoosh.spec | 5 +++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 python-Whoosh.rpmlintrc diff --git a/python-Whoosh.changes b/python-Whoosh.changes index 8228a20..29444cf 100644 --- a/python-Whoosh.changes +++ b/python-Whoosh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 14 10:19:14 UTC 2025 - Matej Cepl + +- Silence reporting unavoidable duplicates. + ------------------------------------------------------------------- Wed Aug 13 16:28:13 UTC 2025 - Markéta Machová diff --git a/python-Whoosh.rpmlintrc b/python-Whoosh.rpmlintrc new file mode 100644 index 0000000..6d3daa0 --- /dev/null +++ b/python-Whoosh.rpmlintrc @@ -0,0 +1 @@ +addFilter("files-duplicate\s*/usr/share/doc/packages/python-Whoosh-doc/html") diff --git a/python-Whoosh.spec b/python-Whoosh.spec index c896f83..6eaa58a 100644 --- a/python-Whoosh.spec +++ b/python-Whoosh.spec @@ -1,7 +1,7 @@ # # spec file for package python-Whoosh # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,8 @@ Release: 0 Summary: Pure-Python full text indexing, search, and spell checking library License: BSD-2-Clause URL: https://github.com/Sygil-Dev/whoosh-reloaded -Source: https://github.com/Sygil-Dev/whoosh-reloaded/archive/refs/tags/v%{version}.tar.gz +Source0: https://github.com/Sygil-Dev/whoosh-reloaded/archive/refs/tags/v%{version}.tar.gz +Source99: python-Whoosh.rpmlintrc # PATCH-FIX-UPSTREAM NullMatcherClass-hashable.patch gh#whoosh-community/whoosh#570 mcepl@suse.com # NullMatcherClass needs __hash__ method as well for Sphinx4 compatiblity. Patch0: NullMatcherClass-hashable.patch