File erlang-rebar3-0001-Skip-deps.patch of Package erlang-rebar3
diff -urEbw rebar3-3.23.0/bootstrap rebar3-3.23.0.new/bootstrap
--- rebar3-3.23.0/bootstrap 2022-01-02 13:51:49.000000000 +0100
+++ rebar3-3.23.0.new/bootstrap 2022-03-31 13:47:34.037209305 +0200
@@ -31,15 +31,6 @@
os:putenv("REBAR_PROFILE", "bootstrap"),
compile_vendored(),
- %% Fetch and build deps required to build rebar3
- BaseDeps = [{providers, []}
- ,{getopt, []}
- ,{cf, []}
- ,{erlware_commons, ["ec_dictionary.erl", "ec_vsn.erl"]}
- ,{certifi, ["certifi_pt.erl"]}],
- Deps = get_deps(),
- [fetch_and_compile(Dep, Deps) || Dep <- BaseDeps],
-
%% Build rebar3 modules with compile:file
bootstrap_rebar3(),
@@ -61,7 +52,6 @@
code:add_pathsa(DepsPaths),
rebar3:run(["clean", "-a"]),
- rebar3:run(["as", "prod", "escriptize"]),
%% Done with compile, can turn back on error logger
error_logger:tty(true).