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