Update gstreamer1.prov file: Only scan in plugin directories

and relax file name and type. (#1581325)
This commit is contained in:
Wim Taymans 2018-05-25 10:11:26 +02:00
parent 413ad0c1e4
commit e1cc69513e
2 changed files with 8 additions and 4 deletions

View File

@ -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()
{

View File

@ -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 <wtaymans@redhat.com> - 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 <wtaymans@redhat.com> - 1.14.1-1
- Update to 1.14.1
- Remove obsolete patch