fix build

This commit is contained in:
Peter Robinson 2011-10-31 19:46:56 +00:00
parent 596a607fdc
commit ab21521eeb
2 changed files with 13 additions and 0 deletions

11
tracker-fixdso.patch Normal file
View File

@ -0,0 +1,11 @@
--- tracker-0.12.7/tests/libtracker-common/Makefile.in.orig 2011-10-31 18:49:24.625342415 +0000
+++ tracker-0.12.7/tests/libtracker-common/Makefile.in 2011-10-31 18:50:09.725340614 +0000
@@ -248,7 +248,7 @@
INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
LD = @LD@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -lgthread-2.0
LIBCUE_CFLAGS = @LIBCUE_CFLAGS@
LIBCUE_LIBS = @LIBCUE_LIBS@
LIBEXIF_CFLAGS = @LIBEXIF_CFLAGS@

View File

@ -6,6 +6,7 @@ License: GPLv2+
Group: Applications/System
URL: http://projects.gnome.org/tracker/
Source0: http://download.gnome.org/sources/tracker/0.12/%{name}-%{version}.tar.xz
Patch0: tracker-fixdso.patch
BuildRequires: poppler-glib-devel evolution-devel libxml2-devel libgsf-devel
BuildRequires: libuuid-devel dbus-glib-devel
@ -88,6 +89,7 @@ This package contains the documentation for tracker
%prep
%setup -q
%patch0 -p1 -b .fixdso
%global evo_plugins_dir %(pkg-config evolution-plugin-3.0 --variable=plugindir)