From cde01336c8e025157211dfa42a309054f7fea549 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:19 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- lld.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lld.spec b/lld.spec index b11b12a..db54c31 100644 --- a/lld.spec +++ b/lld.spec @@ -81,8 +81,7 @@ chrpath --delete %{buildroot}%{_libdir}/*.so* %check make -C %{_target_platform} %{?_smp_mflags} check-lld -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files %{_bindir}/lld*