From 3c1de05d59d1fb3f17f867380a410170db439df9394cf78f134d3b89a87dcb88 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Tue, 22 Oct 2013 10:21:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Cinnamon:Factory/nemo?expand=0&rev=30 --- nemo.spec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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} \