From 480a84d396656e62ee5ae5f11452dd2989793e5a Mon Sep 17 00:00:00 2001 From: wu-leilei Date: Tue, 10 Oct 2023 15:38:12 +0800 Subject: [PATCH] remove rpath of libgstshout2.so --- gstreamer1-plugins-good.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gstreamer1-plugins-good.spec b/gstreamer1-plugins-good.spec index f8175a7..fad017b 100644 --- a/gstreamer1-plugins-good.spec +++ b/gstreamer1-plugins-good.spec @@ -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 - 1.16.2-4 +- Remove rpath of libgstshout2.so + * Mon Jun 27 2022 yaoxin - 1.16.2-3 - - Fix CVE-2022-2122 CVE-2022-1920-to-CVE-2022-1925 -- Gitee