diff --git a/nemo.spec b/nemo.spec index 8c7d957..41e938a 100644 --- a/nemo.spec +++ b/nemo.spec @@ -52,9 +52,10 @@ BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(polkit-agent-1) # wise detect Tumbleweed -%if 0%{?gnome_common_ver} <= 6 +%if 0%{?gnome_common_ver} == 6 BuildRequires: pkgconfig(tracker-sparql-0.14) -%else +%endif +%if 0%{?gnome_common_ver} == 7 || 0%{?gnome_common_ver} == 10 BuildRequires: pkgconfig(tracker-sparql-0.16) %endif BuildRequires: pkgconfig(x11)