Compare commits

...

1 Commits
master ... f20

Author SHA1 Message Date
Wim Taymans
42b4d0c631 Remove rpath. Fixes #1154695 2015-01-19 11:09:11 +01:00

View File

@ -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@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