From 2ef09cfe550988d7df958229a3f6531cb87dbb5e Mon Sep 17 00:00:00 2001 From: Brian Pepple Date: Sun, 7 Oct 2012 15:40:08 -0400 Subject: [PATCH] Use wild card to remove rpath files --- gstreamer1.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gstreamer1.spec b/gstreamer1.spec index f6595cf..71a0a7c 100644 --- a/gstreamer1.spec +++ b/gstreamer1.spec @@ -97,10 +97,10 @@ make %{?_smp_mflags} V=1 rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # Remove rpath. -chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbase-1.0.so.0.0.0 -chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstcheck-1.0.so.0.0.0 -chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstcontroller-1.0.so.0.0.0 -chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstnet-1.0.so.0.0.0 +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbase-1.0.so.* +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstcheck-1.0.so.* +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstcontroller-1.0.so.* +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstnet-1.0.so.* chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-inspect-1.0