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