commit 5a8fa0d319195e2615a04e4ce5271a1a580d4b2b
Author: Benjamin Otte <company(a)fedoraproject.org>
Date: Thu Feb 11 10:05:18 2010 +0000
- Fix build to conform to new DSO rules
...uild-link-to-libm-in-examples-that-use-it.patch | 25 ++++++++++++++++++++++
gstreamer-plugins-base.spec | 7 +++++-
2 files changed, 31 insertions(+), 1 deletion(-)
---
diff --git a/0001-build-link-to-libm-in-examples-that-use-it.patch
b/0001-build-link-to-libm-in-examples-that-use-it.patch
new file mode 100644
index 0000000..c7dc30d
--- /dev/null
+++ b/0001-build-link-to-libm-in-examples-that-use-it.patch
@@ -0,0 +1,25 @@
+From 6c7fdfb772891b37bce09d46398b8493349d4bf1 Mon Sep 17 00:00:00 2001
+From: Benjamin Otte <otte(a)redhat.com>
+Date: Thu, 11 Feb 2010 10:56:17 +0100
+Subject: [PATCH] build: link to libm in examples that use it
+
+This fixes build failure in Fedora 13.
+---
+ tests/examples/seek/Makefile.am | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/tests/examples/seek/Makefile.am b/tests/examples/seek/Makefile.am
+index feadfd9..792f96c 100644
+--- a/tests/examples/seek/Makefile.am
++++ b/tests/examples/seek/Makefile.am
+@@ -8,6 +8,6 @@ noinst_PROGRAMS = $(examples)
+
+ LDADD = \
+ $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
+- $(GST_LIBS) $(GTK_LIBS)
++ $(GST_LIBS) $(GTK_LIBS) $(LIBM)
+
+ AM_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GTK_CFLAGS)
-I$(top_builddir)/gst-libs
+--
+1.6.6
+
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 624e941..a8377e7 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -3,7 +3,7 @@
Name: %{gstreamer}-plugins-base
Version: 0.10.26
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: GStreamer streaming media framework base plug-ins
Group: Applications/Multimedia
@@ -11,6 +11,7 @@ License: LGPLv2+
URL:
http://gstreamer.freedesktop.org/
Source:
http://gstreamer.freedesktop.org/data/src/gst-plugins-base/pre/gst-plugin...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0: 0001-build-link-to-libm-in-examples-that-use-it.patch
Requires: %{gstreamer} >= %{version}
Requires: liboil >= 0.3.12-9
@@ -49,6 +50,7 @@ This package contains a set of well-maintained base plug-ins.
%prep
%setup -q -n gst-plugins-base-%{version}
+%patch0 -p1 -b .add-needed
%build
%configure \
@@ -243,6 +245,9 @@ GStreamer Base Plugins library development and header files.
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
%changelog
+* Fri Feb 11 2010 Benjamin Otte <otte(a)redhat.com> 0.10.26-2
+- Fix build to conform to new DSO rules
+
* Fri Feb 11 2010 Benjamin Otte <otte(a)redhat.com> 0.10.26-1
- Update to 0.10.26