From c33f94c143e0c4ef8417a695aa8958ecd6927841eb6cf9b5636579383394ec42 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Tue, 22 Oct 2013 06:40:13 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Cinnamon:Factory/nemo?expand=0&rev=19 --- nemo.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nemo.spec b/nemo.spec index cb17cd8..8c7d957 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]*.\([0-9]\)*.[0-9].*/\1/p')} +%{!?gnome_common_ver %global gnome_common_ver %(gnome-doc-common --version | sed "s/[^0-9]*3\.\([0-9]*\)\.[0-9]*/\1/")} Name: nemo Version: 2.0.1 @@ -54,8 +54,7 @@ BuildRequires: pkgconfig(polkit-agent-1) # wise detect Tumbleweed %if 0%{?gnome_common_ver} <= 6 BuildRequires: pkgconfig(tracker-sparql-0.14) -%endif -%if 0%{?gnome_common_ver} >= 7 +%else BuildRequires: pkgconfig(tracker-sparql-0.16) %endif BuildRequires: pkgconfig(x11)