!23 remove rpath of libgstshout2.so

From: @wu-leilei 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2023-10-12 06:51:48 +00:00 committed by Gitee
commit 00513ee557
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: gstreamer1-plugins-good
Version: 1.16.2
Release: 3
Release: 4
Summary: GStreamer plugins with good code and licensing
License: LGPLv2+
URL: http://gstreamer.freedesktop.org/
@ -28,6 +28,7 @@ BuildRequires: pulseaudio-libs-devel speex-devel taglib-devel wavpack-devel lib
BuildRequires: libvpx-devel gtk3-devel mesa-libGL-devel libglvnd-devel lame-devel
BuildRequires: mesa-libEGL-devel mesa-libGLU-devel mpg123-devel twolame-devel libdv-devel
BuildRequires: libavc1394-devel libiec61883-devel libraw1394-devel gtk-doc python2-devel
BuildRequires: chrpath
Provides: gstreamer1-plugins-mpg123 = %{version}-%{release}
Obsoletes: gstreamer1-plugins-mpg123 < %{version}-%{release}
@ -74,6 +75,13 @@ good quality and under the LGPL license.
%delete_la_and_a
install -p -D %{SOURCE1} %{buildroot}%{_metainfodir}/gstreamer-good.appdata.xml
chrpath -d %{buildroot}%{_libdir}/gstreamer-1.0/libgstshout2.so
mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "%{_libdir}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc AUTHORS
@ -84,6 +92,7 @@ install -p -D %{SOURCE1} %{buildroot}%{_metainfodir}/gstreamer-good.appdata.xml
%{_datadir}/gstreamer-1.0/presets/*.prs
%{_metainfodir}/gstreamer-good.appdata.xml
%exclude %{_libdir}/gstreamer-1.0/libgstgtk.so
%config(noreplace) /etc/ld.so.conf.d/*
%files gtk
%defattr(-,root,root)
@ -95,6 +104,9 @@ install -p -D %{SOURCE1} %{buildroot}%{_metainfodir}/gstreamer-good.appdata.xml
%doc %{_datadir}/gtk-doc/html/*
%changelog
* Tue Oct 10 2023 wulei <wu_lei@hoperun.com> - 1.16.2-4
- Remove rpath of libgstshout2.so
* Mon Jun 27 2022 yaoxin <yaoxin30@h-partners.com> - 1.16.2-3
- - Fix CVE-2022-2122 CVE-2022-1920-to-CVE-2022-1925