diff --git a/tracker.spec b/tracker.spec index e6de2e3..165c01b 100644 --- a/tracker.spec +++ b/tracker.spec @@ -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 - 3.7.3-2 +- Disable stemmer support as libstemmer is being removed from RHEL 10 + * Fri May 03 2024 Tomas Popela - 3.7.3-1 - Update to 3.7.3 and sync with Fedora