diff --git a/bin/rpmgs b/bin/rpmgs index 9f99fb137fc0c97667241773e6dc08f94930f872..7b202265e95aeaa47534671f51ecb34d1411dd08 100755 --- a/bin/rpmgs +++ b/bin/rpmgs @@ -500,10 +500,14 @@ update_predownloaded() $RUNHOOK $RGD/.gear/predownloaded-postinstall-hook $MODE $VERSION fi - info "Removing binaries (see https://github.com/rust-lang/cargo/issues/6179) ..." - find vendor -name "*.a" -type f -delete -print - find vendor -name "*.so" -type f -delete -print - find vendor -name "*.dll" -type f -delete -print + # TODO: can't just remove binaries (it is checked) + info "Check news about windows target: https://github.com/rust-lang/cargo/issues/6179" + #find vendor -name "*.a" -type f -delete -print + #find vendor -name "*.so" -type f -delete -print + #find vendor -name "*.dll" -type f -delete -print + + # can remove binaries from definitely unused packages + rm -rv vendor/winapi-*-pc-windows-gnu/lib/*.a # drop all exclude vendor # TODO: correct .* removing