From 92d9a374f771913680a156ead56c089049bb6b7b Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 5 Aug 2024 11:31:35 +0200 Subject: [PATCH] Don't require totem-pl-parser Resolves: RHEL-52826 --- tracker-miners.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tracker-miners.spec b/tracker-miners.spec index ad9bc9e..5200772 100644 --- a/tracker-miners.spec +++ b/tracker-miners.spec @@ -11,10 +11,14 @@ %global with_enca 0 %global with_libcue 0 %global with_rss 0 +%if 0%{?rhel} >= 10 +%global with_totem-pl-parser 0 +%endif %else %global with_enca 1 %global with_libcue 1 %global with_rss 1 +%global with_totem-pl-parser 1 %endif %global tracker_version 3.7 @@ -33,7 +37,7 @@ Name: tracker-miners Version: 3.7.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tracker miners and metadata extractors # libtracker-extract and libtracker-miner libraries are LGPLv2+; the miners are a mix of GPLv2+ and LGPLv2+ code @@ -75,7 +79,9 @@ BuildRequires: pkgconfig(libseccomp) BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(poppler-glib) +%if 0%{?with_totem-pl-parser} BuildRequires: pkgconfig(totem-plparser) +%endif BuildRequires: pkgconfig(tracker-sparql-3.0) >= %{tracker_version} BuildRequires: pkgconfig(vorbisfile) %if !0%{?flatpak} @@ -124,6 +130,9 @@ This package contains various miners and metadata extractors for tracker. %endif %if ! 0%{?flatpak} -Dsystemd_user_services_dir=%{_userunitdir} \ +%endif +%if ! 0%{?with_totem-pl-parser} + -Dplaylist=disabled \ %endif %{nil} @@ -179,6 +188,9 @@ install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/%{name}-flatpak-fixup.sh %changelog +* Mon Aug 05 2024 Tomas Popela - 3.7.3-3 +- totem-pl-parser won't be part of RHEL 10 + * Mon Jun 24 2024 Troy Dawson - 3.7.3-2 - Bump release for June 2024 mass rebuild