From 690656ffa0d81aced0a753437d9f9f401623de20 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 23 Feb 2017 12:18:17 +0100 Subject: [PATCH] Add a workaround for old sqlite 3.7 on RHEL 7 --- tracker.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tracker.spec b/tracker.spec index f5dd5c5..a717138 100644 --- a/tracker.spec +++ b/tracker.spec @@ -168,6 +168,11 @@ This package contains the documentation for tracker %patch0 -p1 -b .autostart-gnome +%if 0%{?rhel} +# Fix the build with sqlite 3.7 that doesn't support SQLITE_DETERMINISTIC +sed -i -e 's/ | SQLITE_DETERMINISTIC//' src/libtracker-data/tracker-db-interface-sqlite.c +%endif + ## nuke unwanted rpaths, see also ## https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure