Move ldconfig triggers to the subpackages containing .so files

This commit is contained in:
Michel Alexandre Salim 2011-03-17 19:03:50 +01:00
parent c3dcc7c01f
commit 2fc8420d0f

View File

@ -319,10 +319,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