Drop ldconfig from %post scriptlets
According to [1] they are not necessary since Fedora 28: Shared Libraries On Fedora 28 and newer, no scriptlets are required when shared libraries are installed. [1] https://fedoraproject.org/wiki/Packaging:Scriptlets#Shared_Libraries
This commit is contained in:
parent
70ceab4461
commit
fa475c1e36
@ -71,12 +71,9 @@ rm -f ${RPM_BUILD_ROOT}%{_bindir}/chkcon
|
||||
rm -rf ${RPM_BUILD_ROOT}%{_mandir}/man8
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
[ -x /sbin/telinit ] && [ -p /dev/initctl ] && /sbin/telinit U
|
||||
exit 0
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files static
|
||||
%{_libdir}/libsepol.a
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user