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:
Petr Lautrbach 2018-07-18 12:03:15 +02:00
parent 70ceab4461
commit fa475c1e36

View File

@ -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