Add a workaround for old sqlite 3.7 on RHEL 7

This commit is contained in:
Kalev Lember 2017-02-23 12:18:17 +01:00
parent 1ba002ea39
commit 690656ffa0

View File

@ -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