From 999f90581f2dc4275fa3ee3313019ce87721fa4d Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Mar 18 2011 17:15:05 +0000 Subject: Move ldconfig triggers to the subpackages containing .so files (cherry picked from commit 2fc8420d0f49fdd4234968aba41c1c0d3817e295) --- 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