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