commit 47967d643006d4c49c328fefa5f24fb659134d9c
Author: Bastien Nocera <hadess(a)fedoraproject.org>
Date: Sun Sep 14 13:20:53 2008 +0000
- Hopefully fix RPM provides problem when the GStreamer plugin requires a
library installed by the package itself
gstreamer.prov | 9 ++++++++-
gstreamer.spec | 6 +++++-
2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/gstreamer.prov b/gstreamer.prov
index a55aa76..4e3ca76 100755
--- a/gstreamer.prov
+++ b/gstreamer.prov
@@ -26,9 +26,16 @@ function getmark()
grep "ELF 64-bit" >/dev/null; then echo -n "$mark64"; fi`
}
+function libdir()
+{
+ buildlibdir=`dirname $1`
+ buildlibdir=`dirname $buildlibdir`
+}
+
for so in $solist ; do
getmark $so
- gst-inspect --print-plugin-auto-install-info --rpm $so 2> /dev/null | while read line
; do
+ libdir $so
+ LD_LIBRARY_PATH=$buildlibdir gst-inspect --print-plugin-auto-install-info --rpm $so
2> /dev/null | while read line ; do
echo -n "$line";
echo -n "$lib64"
echo
diff --git a/gstreamer.spec b/gstreamer.spec
index 5c79a56..066c010 100644
--- a/gstreamer.spec
+++ b/gstreamer.spec
@@ -6,7 +6,7 @@
Name: %{gstreamer}
Version: 0.10.20
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: GStreamer streaming media framework runtime
Group: Applications/Multimedia
@@ -212,6 +212,10 @@ rm -rf $RPM_BUILD_ROOT
%{_sysconfdir}/rpm/macros.gstreamer
%changelog
+* Sun Sep 14 2008 - Bastien Nocera <bnocera(a)redhat.com> - 0.10.20-6
+- Hopefully fix RPM provides problem when the GStreamer plugin
+ requires a library installed by the package itself
+
* Fri Sep 12 2008 - Bastien Nocera <bnocera(a)redhat.com> - 0.10.20-5
- Update rpm provides script and patch to:
- filter out errors
Show replies by date