Move ldconfig triggers to the subpackages containing .so files

(cherry picked from commit 2fc8420d0f49fdd4234968aba41c1c0d3817e295)
This commit is contained in:
Michel Alexandre Salim 2011-03-17 19:03:50 +01:00
parent a8c599f15f
commit 999f90581f

View File

@ -316,10 +316,12 @@ chmod -x %{buildroot}%{_libdir}/%{name}/*.a
find examples -name 'Makefile' | xargs -0r rm -f 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 %files