From 881a3e1bf5951b039774c24fc13f5827665c324c8bb3e42a06dd8e9148726462 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Tue, 22 Oct 2013 05:16:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Cinnamon:Factory/nemo?expand=0&rev=15 --- nemo.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nemo.spec b/nemo.spec index aff52a0..3b7b462 100644 --- a/nemo.spec +++ b/nemo.spec @@ -17,7 +17,7 @@ # # wise detect Tumbleweed -%{!?gnome_common_ver %global gnome_common_ver %(gnome-doc-common --version | sed -ne 's/.* \([0-9.]*\).*/\1/p')} +%{!?gnome_common_ver %global gnome_common_ver %(gnome-doc-common --version | sed -ne 's/.* [0-9]*.\([0-9]\)*.[0-9].*/\1/p')} Name: nemo Version: 2.0.1 @@ -54,10 +54,9 @@ BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(libxml-2.0) # wise detect Tumbleweed -%if 0%{?gnome_common_ver} <= 3.6.0 +%if 0%{?gnome_common_ver} <= 6 BuildRequires: pkgconfig(tracker-sparql-0.14) -%endif -%if 0%{?gnome_common_ver} >= 3.7.0 +%else BuildRequires: pkgconfig(tracker-sparql-0.16) %endif BuildRequires: pkgconfig(x11)