From 999f90581f2dc4275fa3ee3313019ce87721fa4d Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 17 Mar 2011 19:03:50 +0100 Subject: [PATCH] Move ldconfig triggers to the subpackages containing .so files (cherry picked from commit 2fc8420d0f49fdd4234968aba41c1c0d3817e295) --- llvm.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/llvm.spec b/llvm.spec index fbbc802..75ecea3 100644 --- a/llvm.spec +++ b/llvm.spec @@ -316,10 +316,12 @@ chmod -x %{buildroot}%{_libdir}/%{name}/*.a find examples -name 'Makefile' | xargs -0r rm -f -%post -p /sbin/ldconfig +%post libs -p /sbin/ldconfig +%post -n clang -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig +%postun -n clang -p /sbin/ldconfig %files