commit cac5152cb73af03af44c8fc01966730385cf1a6f
Author: Wim Taymans <wtaymans(a)redhat.com>
Date: Mon Jan 19 11:10:03 2015 +0100
Remove rpath. Fixes #1154695
gstreamer-plugins-base.spec | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)
---
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 177c106..1cabe4b 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -4,7 +4,7 @@
Name: %{gstreamer}-plugins-base
Version: %{gstreamer_version}
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: GStreamer streaming media framework base plug-ins
Group: Applications/Multimedia
@@ -38,6 +38,8 @@ BuildRequires: pango-devel
BuildRequires: pkgconfig
Obsoletes: gstreamer-plugins
+BuildRequires: chrpath
+
# documentation
BuildRequires: gtk-doc >= 1.3
@@ -76,6 +78,30 @@ make %{?_smp_mflags} ERROR_CFLAGS=""
%install
make install DESTDIR=$RPM_BUILD_ROOT
+# Remove rpath.
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstadder.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstapp.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstaudioconvert.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstdecodebin.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstdecodebin2.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstencodebin.so
+chrpath --delete
$RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstffmpegcolorspace.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstplaybin.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
+chrpath --delete
$RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgsttypefindfunctions.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstvideoscale.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstvolume.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstximagesink.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstxvimagesink.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstaudio-0.10.so.*
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstcdda-0.10.so.*
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstriff-0.10.so.*
+
# Clean out files that should not be part of the rpm.
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
@@ -330,6 +356,9 @@ library.
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
%changelog
+* Mon Jan 19 2015 Wim Taymans <wtaymans(a)redhat.com> - 0.10.36-12
+- Remove rpath. Fixes #1154695
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.10.36-11
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild