From fa475c1e36c51fc21253ac0e1df6628e0033a684 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Wed, 18 Jul 2018 12:03:15 +0200 Subject: [PATCH] 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 --- libsepol.spec | 3 --- 1 file changed, 3 deletions(-) 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