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
|
rm -rf ${RPM_BUILD_ROOT}%{_mandir}/man8
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
|
||||||
[ -x /sbin/telinit ] && [ -p /dev/initctl ] && /sbin/telinit U
|
[ -x /sbin/telinit ] && [ -p /dev/initctl ] && /sbin/telinit U
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%{_libdir}/libsepol.a
|
%{_libdir}/libsepol.a
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue