commit 3c5b9c7657870d427bf757d8ca0bd0c29c2ce232
Author: Bastien Nocera <hadess(a)hadess.net>
Date: Tue Aug 7 10:38:11 2012 +0100
Add patch for MP3 codec installation problems (#680809)
...plugins-Remove-the-mpegaudioversion-field.patch | 30 ++++++++++++++++++++++
gstreamer-plugins-base.spec | 8 +++++-
2 files changed, 37 insertions(+), 1 deletion(-)
---
diff --git a/0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
b/0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
new file mode 100644
index 0000000..4a92322
--- /dev/null
+++ b/0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
@@ -0,0 +1,30 @@
+From d4e6ecc9799b05e20cd36ea6c5392380fb7f8cc2 Mon Sep 17 00:00:00 2001
+From: Bastien Nocera <hadess(a)hadess.net>
+Date: Fri, 3 Aug 2012 17:50:24 +0100
+Subject: [PATCH] missing-plugins: Remove the mpegaudioversion field
+
+From missing plugins requests as it's a duplicate of mpegversion
+and its presence would break codec discovery when using RPM.
+
+https://bugzilla.redhat.com/show_bug.cgi?id=680809
+---
+ gst-libs/gst/pbutils/missing-plugins.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/gst-libs/gst/pbutils/missing-plugins.c
b/gst-libs/gst/pbutils/missing-plugins.c
+index 1b6d44b..6b343c5 100644
+--- a/gst-libs/gst/pbutils/missing-plugins.c
++++ b/gst-libs/gst/pbutils/missing-plugins.c
+@@ -152,6 +152,9 @@ copy_and_clean_caps (const GstCaps * caps)
+ gst_structure_remove_field (s, "play-speed");
+ gst_structure_remove_field (s, "play-scale");
+ gst_structure_remove_field (s, "dynamic_range");
++ /* mpegaudioversion is a duplicate for mpegversion
++ *
https://bugzilla.redhat.com/show_bug.cgi?id=680809 */
++ gst_structure_remove_field (s, "mpegaudioversion");
+
+ return ret;
+ }
+--
+1.7.10.2
+
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 5669457..7f906f4 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -4,7 +4,7 @@
Name: %{gstreamer}-plugins-base
Version: %{gstreamer_version}
-Release: 2%{?dist}
+Release: 3{?dist}
Summary: GStreamer streaming media framework base plug-ins
Group: Applications/Multimedia
@@ -42,6 +42,8 @@ Obsoletes: gstreamer-plugins
BuildRequires: gtk-doc >= 1.3
BuildRequires: PyXML
+Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
+
%description
GStreamer is a streaming media framework, based on graphs of filters which
operate on media data. Applications using this library can do anything
@@ -54,6 +56,7 @@ This package contains a set of well-maintained base plug-ins.
%prep
%setup -q -n gst-plugins-base-%{version}
+%patch0 -p1 -b .mpegaudioversion
%build
%configure \
@@ -322,6 +325,9 @@ library.
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
%changelog
+* Tue Aug 07 2012 Bastien Nocera <bnocera(a)redhat.com> 0.10.36-3
+- Add patch for MP3 codec installation problems (#680809)
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.10.36-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild