From e1cc69513e9b4adbb8483f09cfd6850940caca1d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 25 May 2018 10:11:26 +0200 Subject: [PATCH] Update gstreamer1.prov file: Only scan in plugin directories and relax file name and type. (#1581325) --- gstreamer1.prov | 6 +++--- gstreamer1.spec | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gstreamer1.prov b/gstreamer1.prov index d0a9b8a..a3e901e 100644 --- a/gstreamer1.prov +++ b/gstreamer1.prov @@ -9,7 +9,7 @@ # Based on other provides scripts from RPM # -filelist=`grep -e '.so$' | sed "s/['\"]/\\\&/g"` +filelist=`grep -e '^.*/gstreamer-1.0/lib.*.so$' | sed "s/['\"]/\\\&/g"` # --- Alpha does not mark 64bit dependencies• case `uname -m` in @@ -17,8 +17,8 @@ case `uname -m` in *) mark64="()(64bit)" ;; esac -solist=$(echo $filelist | grep "libgst" | \ - xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1 ) +solist=$(echo $filelist | \ + xargs file -L 2>/dev/null | grep "ELF" | cut -d: -f1 ) function getmark() { diff --git a/gstreamer1.spec b/gstreamer1.spec index 5724552..8b0b019 100644 --- a/gstreamer1.spec +++ b/gstreamer1.spec @@ -10,7 +10,7 @@ Name: gstreamer1 Version: 1.14.1 -Release: 1%{?gitcommit:.git%{shortcommit}}%{?dist} +Release: 2%{?gitcommit:.git%{shortcommit}}%{?dist} Summary: GStreamer streaming media framework runtime License: LGPLv2+ @@ -204,6 +204,10 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer %changelog +* Fri May 25 2018 Wim Taymans - 1.14.1-2 +- Update gstreamer1.prov file: Only scan in plugin directories + and relax file name and type. (#1581325) + * Mon May 21 2018 Wim Taymans - 1.14.1-1 - Update to 1.14.1 - Remove obsolete patch