From b33df861a9a91cd07c2623b32fd2ec6b5f64d53b Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Tue, 6 Dec 2022 14:20:23 +0800 Subject: [PATCH] Add /sbin/ldconfig to post and postun (cherry picked from commit 98d213a9e8285ad27449e4b1a56a88fd082f177e) --- trace-cmd.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/trace-cmd.spec b/trace-cmd.spec index c84ebb1..b8c6b84 100644 --- a/trace-cmd.spec +++ b/trace-cmd.spec @@ -1,6 +1,6 @@ Name: trace-cmd Version: 2.9.2 -Release: 2 +Release: 3 Summary: A front-end for Ftrace License: GPLv2 and LGPLv2 URL: http://git.kernel.org/?p=linux/kernel/git/rostedt/trace-cmd.git;a=summary @@ -39,8 +39,10 @@ echo "%{_bindir}/%{name}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.co %preun %post +/sbin/ldconfig %postun +/sbin/ldconfig %files %defattr(-,root,root) @@ -62,6 +64,9 @@ echo "%{_bindir}/%{name}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.co %{_mandir}/man5/* %changelog +* Tue Dec 06 2022 yaoxin - 2.9.2-3 +- Add /sbin/ldconfig to post and postun + * Sat Jul 30 2022 caodongxia - 2.9.2-2 - Del rpath in some binaries. -- Gitee