diff --git a/tracker.spec b/tracker.spec index b1c3264..237f77d 100644 --- a/tracker.spec +++ b/tracker.spec @@ -80,7 +80,7 @@ This package contains the documentation for tracker %prep %autosetup -p1 -%if 0%{?rhel} +%if 0%{?rhel} && 0%{?rhel} <= 7 # 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