diff --git a/rest-fixdso.patch b/rest-fixdso.patch new file mode 100644 index 0000000..3d23d78 --- /dev/null +++ b/rest-fixdso.patch @@ -0,0 +1,11 @@ +--- rest-0.6.1/docs/reference/rest/Makefile.in.orig 2010-02-15 08:18:42.000000000 +0000 ++++ rest-0.6.1/docs/reference/rest/Makefile.in 2010-02-15 08:18:46.000000000 +0000 +@@ -97,7 +97,7 @@ + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LD = @LD@ +-LDFLAGS = @LDFLAGS@ ++LDFLAGS = @LDFLAGS@ -lgobject-2.0 -lglib-2.0 + LIBOBJS = @LIBOBJS@ + LIBS = @LIBS@ + LIBTOOL = @LIBTOOL@ diff --git a/rest.spec b/rest.spec index 7b29bb5..d73ae0f 100644 --- a/rest.spec +++ b/rest.spec @@ -1,13 +1,14 @@ -Name: rest -Version: 0.6.1 -Release: 3%{?dist} -Summary: A library for access to RESTful web services - -Group: System Environment/Libraries -License: LGPLv2 -URL: http://moblin.org/projects/librest -Source0: http://git.moblin.org/cgit.cgi/lib%{name}/snapshot/%{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Name: rest +Version: 0.6.1 +Release: 4%{?dist} +Summary: A library for access to RESTful web services + +Group: System Environment/Libraries +License: LGPLv2 +URL: http://moblin.org/projects/librest +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://download.moblin.org/sources/rest/0.6/%{name}-%{version}.tar.bz2 +Patch0: rest-fixdso.patch BuildRequires: glib2-devel BuildRequires: libsoup-devel @@ -34,6 +35,7 @@ Files for development with %{name}. %prep %setup -q +%patch0 -p1 -b .fixdso %build %configure --disable-static --enable-gtk-doc @@ -71,6 +73,9 @@ rm -rf %{buildroot} %{_datadir}/gtk-doc/html/%{name}-0.6 %changelog +* Mon Feb 15 2010 Peter Robinson 0.6.1-4 +- Add patch to fix DSO linking. Fixes bug 564764 + * Mon Jan 25 2010 Peter Robinson 0.6.1-3 - Bump build