[gstreamer/f20] Remove rpath. Fixes #1154695
Wim Taymans
wtaymans at fedoraproject.org
Mon Jan 19 10:09:15 UTC 2015
commit 42b4d0c631b01bc51bc1aa228e91dcd0566255dc
Author: Wim Taymans <wtaymans at redhat.com>
Date: Mon Jan 19 11:09:11 2015 +0100
Remove rpath. Fixes #1154695
gstreamer.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/gstreamer.spec b/gstreamer.spec
index f25f72a..502dc10 100644
--- a/gstreamer.spec
+++ b/gstreamer.spec
@@ -7,7 +7,7 @@
Name: %{gstreamer}
Version: 0.10.36
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: GStreamer streaming media framework runtime
Group: Applications/Multimedia
@@ -31,6 +31,7 @@ BuildRequires: pkgconfig
BuildRequires: gobject-introspection-devel >= %{_gobject-introspection}
# We need to use the system libtool or else we end up with RPATHs
BuildRequires: libtool
+BuildRequires: chrpath
# because AM_PROG_LIBTOOL was used in configure.ac
BuildRequires: gcc-c++
@@ -136,6 +137,11 @@ rm -rf $RPM_BUILD_ROOT
# Install doc temporarily in order to be included later by rpm
make install DESTDIR=$RPM_BUILD_ROOT
+# Remove rpath.
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbase-0.10.so.*
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcoreindexers.so
+
%find_lang gstreamer-%{majorminor}
# Clean out files that should not be part of the rpm.
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
@@ -242,6 +248,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}
%changelog
+* Mon Jan 19 2015 Wim Taymans <wtaymans at redhat.com> - 0.10.36-7
+- Remove rpath. Fixes #1154695
+
* Mon Oct 14 2013 Dan HorĂ¡k <dan[at]danny.cz> - 0.10.36-6
- drop BR: PyXML (https://fedoraproject.org/wiki/Features/RemovePyXML), fixes #992438
More information about the scm-commits
mailing list