Add a workaround for old sqlite 3.7 on RHEL 7
This commit is contained in:
parent
1ba002ea39
commit
690656ffa0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user