From 298191bf90407f4c082a1ed74f798c5efcbcbed7 Mon Sep 17 00:00:00 2001 From: si-gui <245140120@qq.com> Date: Wed, 17 Mar 2021 19:54:26 +0800 Subject: [PATCH] del rpath in some binaries --- vorbis-tools.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/vorbis-tools.spec b/vorbis-tools.spec index 2231b44..5a11c91 100644 --- a/vorbis-tools.spec +++ b/vorbis-tools.spec @@ -1,7 +1,7 @@ Name: vorbis-tools Summary: Several Ogg Vorbis Tools Version: 1.4.0 -Release: 31 +Release: 32 Epoch: 1 License: GPLv2 URL: http://www.xiph.org/ @@ -16,7 +16,7 @@ Patch5: vorbis-tools-1.4.0-CVE-2014-9638-CVE-2014-9639.patch Patch6: vorbis-tools-1.4.0-CVE-2015-6749.patch Patch7: CVE-2014-9640.patch -BuildRequires: flac-devel gettext gcc libao-devel libcurl-devel libvorbis-devel speex-devel +BuildRequires: flac-devel gettext gcc libao-devel libcurl-devel libvorbis-devel speex-devel chrpath Obsoletes: vorbis < %{epoch}:%{version}-%{release} Provides: vorbis = %{epoch}:%{version}-%{release} @@ -44,6 +44,8 @@ export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security" %make_install %find_lang %{name} +chrpath -d %{buildroot}/%{_bindir}/* + %files -f %{name}.lang %{_bindir}/* @@ -55,6 +57,9 @@ export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security" %exclude %{_docdir}/%{name}* %changelog +* Wed Mar 17 2021 sunguoshuai - 1:1.4.0-32 +- del rpath in some binaries + * Mon Jan 11 2021 wangyue - 1:1.4.0-31 - fix CVE-2014-9640 -- Gitee