!27 Remove rpath

From: @wk333 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-10-13 01:20:28 +00:00 committed by Gitee
commit 20925e466b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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}
@ -42,6 +42,7 @@ export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security"
%install
%make_install
chrpath -d %{buildroot}%{_bindir}/*
%find_lang %{name}
@ -55,6 +56,9 @@ export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security"
%exclude %{_docdir}/%{name}*
%changelog
* Tue Oct 10 2023 wangkai <13474090681@163.com> - 1:1.4.0-32
- Remove rpath
* Mon Jan 11 2021 wangyue<wangyue92@huawei.com> - 1:1.4.0-31
- fix CVE-2014-9640