From bc6089a38b3626e30d45cf2fe2180f885bd8a556 Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Fri, 16 Aug 2024 10:01:04 +0800 Subject: [PATCH] Remove rpath (cherry picked from commit 771e4c0b9fd173082298f63c390a95b8d6d27af6) --- opusfile.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/opusfile.spec b/opusfile.spec index 69e9f8a..d92dc30 100644 --- a/opusfile.spec +++ b/opusfile.spec @@ -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 -- Gitee