- Add patch to fix dso linking issues

This commit is contained in:
Peter Robinson 2010-08-03 10:18:26 +01:00
parent 424dae5ca8
commit d54155b824
2 changed files with 17 additions and 2 deletions

11
gupnp-av-fixdso.patch Normal file
View File

@ -0,0 +1,11 @@
--- gupnp-av-0.5.8/tests/Makefile.in.orig 2010-08-03 09:28:57.562073134 +0100
+++ gupnp-av-0.5.8/tests/Makefile.in 2010-08-03 09:29:51.347043224 +0100
@@ -139,7 +139,7 @@
INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
LD = @LD@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -lgobject-2.0 -lglib-2.0
LIBGUPNP_CFLAGS = @LIBGUPNP_CFLAGS@
LIBGUPNP_LIBS = @LIBGUPNP_LIBS@
LIBOBJS = @LIBOBJS@

View File

@ -1,13 +1,13 @@
Name: gupnp-av
Version: 0.5.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A collection of helpers for building UPnP AV applications
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.gupnp.org/
Source0: http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: gupnp-av-fixdso.patch
BuildRequires: glib2-devel
BuildRequires: gtk-doc
@ -47,6 +47,7 @@ This package contains developer documentation for %{name}.
%prep
%setup -q
%patch0 -p1 -b .fixdso
%build
%configure --disable-static
@ -84,6 +85,9 @@ rm -rf %{buildroot}
%{_datadir}/gtk-doc/html/%{name}
%changelog
* Tue Aug 3 2010 Peter Robinson <pbrobinson@gmail.com> 0.5.8-2
- Add patch to fix dso linking issues
* Mon Aug 2 2010 Peter Robinson <pbrobinson@gmail.com> 0.5.8-1
- Update to 0.5.8