From fa475c1e36c51fc21253ac0e1df6628e0033a684 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Jul 18 2018 10:28:55 +0000 Subject: 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 --- diff --git a/libsepol.spec b/libsepol.spec index 47f94fc..2fc62ef 100644 --- a/libsepol.spec +++ b/libsepol.spec @@ -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