[llvm] Move ldconfig triggers to the subpackages containing .so files (cherry picked from commit 2fc8420d0f

Michel Alexandre Salim salimma at fedoraproject.org
Fri Mar 18 17:17:05 UTC 2011


commit 999f90581f2dc4275fa3ee3313019ce87721fa4d
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Thu Mar 17 19:03:50 2011 +0100

    Move ldconfig triggers to the subpackages containing .so files
    (cherry picked from commit 2fc8420d0f49fdd4234968aba41c1c0d3817e295)

 llvm.spec |    6 ++++--
 1 files 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


More information about the scm-commits mailing list