diff --git a/nemo.spec b/nemo.spec index 25822ca..9478494 100644 --- a/nemo.spec +++ b/nemo.spec @@ -54,19 +54,11 @@ BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(polkit-agent-1) # wise detect Tumbleweed -%if 0%{?suse_version} == 1230 -%if %{gnome_common_ver} == 6 +%if 0%{?suse_version} <= 1230 BuildRequires: pkgconfig(tracker-sparql-0.14) %else BuildRequires: pkgconfig(tracker-sparql-0.16) %endif -%endif -%if 0%{?suse_version} < 1230 -BuildRequires: pkgconfig(tracker-sparql-0.14) -%endif -%if 0%{?suse_version} > 1230 -BuildRequires: pkgconfig(tracker-sparql-0.16) -%endif BuildRequires: pkgconfig(x11) Recommends: cinnamon-translations BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -113,6 +105,8 @@ This package provides the GObject Introspection bindings for Nemo. %patch2 -p1 %endif +echo "GNOME COMMON VERSION: %{gnome_common_ver}" + %build NOCONFIGURE=1 ./autogen.sh %configure --libexecdir=%{_libexecdir}/%{name} \