Add /sbin/ldconfig to post and postun
(cherry picked from commit 98d213a9e8285ad27449e4b1a56a88fd082f177e)
This commit is contained in:
parent
f0a6d66195
commit
11d97a6c0f
@ -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 <yaoxin30@h-partners.com> - 2.9.2-3
|
||||
- Add /sbin/ldconfig to post and postun
|
||||
|
||||
* Sat Jul 30 2022 caodongxia <caodongxia@h-hpartners.com> - 2.9.2-2
|
||||
- Del rpath in some binaries.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user