Move ldconfig triggers to the subpackages containing .so files
This commit is contained in:
parent
c3dcc7c01f
commit
2fc8420d0f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user