From ccb4b1d9e81a1bc8017d9d6057e5895f29607b04 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Thu, 4 Sep 2025 19:41:19 +0800 Subject: [PATCH] Remove rpath --- libtraceevent.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libtraceevent.spec b/libtraceevent.spec index 7cafbfb..2f025dd 100644 --- a/libtraceevent.spec +++ b/libtraceevent.spec @@ -1,6 +1,6 @@ Name: libtraceevent Version: 1.8.4 -Release: 2 +Release: 3 License: LGPLv2+ and GPLv2+ Summary: Library to parse raw trace event formats @@ -12,6 +12,7 @@ Patch0000: 0001-fix-missing-fstack-protector-strong.patch BuildRequires: gcc BuildRequires: xmlto BuildRequires: asciidoc +BuildRequires: chrpath Conflicts: perf < 6.2.0 @@ -39,6 +40,8 @@ make -O -j1 V=1 VERBOSE=1 CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" pr %make_install prefix=%{_prefix} libdir=%{_libdir} install doc-install rm -rf %{buildroot}/%{_libdir}/libtraceevent.a +chrpath -d %{buildroot}%{_libdir}/libtraceevent.so.* + %files %license LICENSES/LGPL-2.1 %license LICENSES/GPL-2.0 @@ -57,6 +60,9 @@ rm -rf %{buildroot}/%{_libdir}/libtraceevent.a %{_libdir}/pkgconfig/libtraceevent.pc %changelog +* Thu Sep 04 2025 yaoxin <1024769339@qq.com> - 1.8.4-3 +- Remove rpath + * Wed Dec 25 2024 xu_ping <707078654@qq.com> - 1.8.4-2 - add conflict perf version. -- Gitee