Optimize file removal during bootstrap
This commit is contained in:
parent
cb399c6829
commit
e193474db4
@ -114,9 +114,10 @@ popd
|
||||
%install
|
||||
%if 0%{?bootstrap}
|
||||
%make_install -C bootstrap_ver
|
||||
%{__rm} -fr %{buildroot}%{_includedir}/%{name} \
|
||||
%{buildroot}%{_libdir}/lib%{name}.so \
|
||||
%{buildroot}%{_libdir}/pkgconfig
|
||||
%{_bindir}/find %{buildroot} -xtype f -not \
|
||||
-name 'lib%{name}.so.%{so_ver_old}*' -delete -print
|
||||
%{_bindir}/find %{buildroot} -type l -not \
|
||||
-name 'lib%{name}.so.%{so_ver_old}*' -delete -print
|
||||
%endif
|
||||
|
||||
%make_install
|
||||
|
Loading…
Reference in New Issue
Block a user