Disable stemmer support as libstemmer is being removed from RHEL 10

Resolves: RHEL-40702
This commit is contained in:
Tomas Popela 2024-06-11 10:08:03 +02:00
parent 63dcc66552
commit eff368c455

View File

@ -4,7 +4,7 @@
Name: tracker
Version: 3.7.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Desktop-neutral metadata database and search tool
License: GPL-2.0-or-later
@ -14,7 +14,10 @@ Source0: https://download.gnome.org/sources/tracker/3.7/tracker-%{tarball
BuildRequires: asciidoc
BuildRequires: gettext
BuildRequires: gi-docgen
%if ! 0%{?rhel} || 0%{?rhel} < 10
# libstemmer is not part of RHEL 10
BuildRequires: libstemmer-devel
%endif
BuildRequires: meson
BuildRequires: python3-gobject
BuildRequires: systemd-rpm-macros
@ -107,6 +110,9 @@ The %{name}-devel package contains the documentation for %{name}.
%meson \
-Dunicode_support=icu \
-Dsystemd_user_services_dir=%{_userunitdir} \
%if ! 0%{?rhel} || 0%{?rhel} >= 10
-Dstemmer=disabled \
%endif
%{nil}
%meson_build
@ -170,6 +176,9 @@ The %{name}-devel package contains the documentation for %{name}.
%changelog
* Tue Jun 11 2024 Tomas Popela <tpopela@redhat.com> - 3.7.3-2
- Disable stemmer support as libstemmer is being removed from RHEL 10
* Fri May 03 2024 Tomas Popela <tpopela@redhat.com> - 3.7.3-1
- Update to 3.7.3 and sync with Fedora