!27 [sync] PR-24: Remove rpath

From: @openeuler-sync-bot 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2024-08-19 01:11:45 +00:00 committed by Gitee
commit 79ce3d005b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: opusfile
Version: 0.12
Release: 1
Release: 2
Summary: A high-level API provides seeking, decode, and playback of Opus streams
License: BSD
URL: http://www.opus-codec.org/
@ -8,7 +8,7 @@ Source0: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz
Patch0000: 0001-fix-MemorySanitizer-use-of-uninitialized-value.patch
Patch0001: CVE-2022-47021.patch
BuildRequires: gcc libogg-devel openssl-devel opus-devel
BuildRequires: gcc libogg-devel openssl-devel opus-devel chrpath
%description
The opusfile library provides seeking, decode, and playback of Opus streams in the Ogg
@ -33,6 +33,7 @@ Development package for opusfile package.
%install
%make_install
%delete_la
chrpath -d %{buildroot}/%{_libdir}/libopus*
%post
/sbin/ldconfig
@ -51,6 +52,9 @@ Development package for opusfile package.
%{_libdir}/{libopusfile.so,libopusurl.so}
%changelog
* Fri Aug 16 2024 wangkai <13474090681@163.com> - 0.12-2
- Remove rpath
* Wed Oct 18 2023 wangkai <13474090681@163.com> - 0.12-1
- Update to 0.12