Optimized cleanup after installing compat files into %buildroot
This commit is contained in:
parent
dd21081189
commit
a826bb3418
@ -465,8 +465,8 @@ popd
|
||||
%make_install -C %{_vpath_builddir}-compat
|
||||
|
||||
# Cleanup everything we do not need from the compatibility library.
|
||||
find %{buildroot} -xtype f -not -name 'libcrypt.so.%{csoc}*' -delete -print
|
||||
find %{buildroot} -type l -not -name 'libcrypt.so.%{csoc}*' -delete -print
|
||||
find %{buildroot} \
|
||||
-not -type d -not -name 'libcrypt.so.%{csoc}*' -delete -print
|
||||
%endif
|
||||
|
||||
# Install the default system library.
|
||||
|
Loading…
Reference in New Issue
Block a user