Update RHEL conditionals

This commit is contained in:
Kalev Lember 2018-09-03 15:36:37 +02:00
parent 542be71bd7
commit 7b842e80e1

View File

@ -80,7 +80,7 @@ This package contains the documentation for tracker
%prep %prep
%autosetup -p1 %autosetup -p1
%if 0%{?rhel} %if 0%{?rhel} && 0%{?rhel} <= 7
# Fix the build with sqlite 3.7 that doesn't support SQLITE_DETERMINISTIC # 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 sed -i -e 's/ | SQLITE_DETERMINISTIC//' src/libtracker-data/tracker-db-interface-sqlite.c
%endif %endif