- Add patch to fix DSO linking. Fixes bug 564764

This commit is contained in:
Peter Robinson 2010-02-15 08:35:32 +00:00
parent 685dae7f8a
commit beccbe146f
2 changed files with 25 additions and 9 deletions

11
rest-fixdso.patch Normal file
View File

@ -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@

View File

@ -1,13 +1,14 @@
Name: rest
Version: 0.6.1
Release: 3%{?dist}
Summary: A library for access to RESTful web services
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
Source0: http://git.moblin.org/cgit.cgi/lib%{name}/snapshot/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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 <pbrobinson@gmail.com> 0.6.1-4
- Add patch to fix DSO linking. Fixes bug 564764
* Mon Jan 25 2010 Peter Robinson <pbrobinson@gmail.com> 0.6.1-3
- Bump build