File relx-4.3.0-pre19.patch of Package relx
diff -Ndurp relx-4.3.0/src/relx.erl relx-4.3.0-pre19/src/relx.erl
--- relx-4.3.0/src/relx.erl 2021-02-04 20:32:32.000000000 +0200
+++ relx-4.3.0-pre19/src/relx.erl 2021-03-23 17:33:36.768748717 +0200
@@ -42,15 +42,15 @@
-export_type([goal/0,
error/0]).
--type release() :: #{name := atom(),
- vsn := string(),
+-type release() :: #{name => atom(),
+ vsn => string(),
%% top level application list to include in release
%% referred to as goals because it is not the complete
%% list of applications.
- goals := [goal()],
+ goals => [goal()],
- relfile_path := file:filename_all() | undefined}.
+ relfile_path => file:filename_all() | undefined}.
-spec release(rlx_release:name(), rlx_release:vsn(), [goal()]) -> release().
release(Name, Vsn, Goals) ->
diff -Ndurp relx-4.3.0/src/rlx_app_info.erl relx-4.3.0-pre19/src/rlx_app_info.erl
--- relx-4.3.0/src/rlx_app_info.erl 2021-02-04 20:32:32.000000000 +0200
+++ relx-4.3.0-pre19/src/rlx_app_info.erl 2021-03-23 17:33:36.768748717 +0200
@@ -52,21 +52,21 @@
-include("relx.hrl").
-type app_type() :: project | dep | checkout | system.
--type t() :: #{name := atom() | undefined,
- vsn := string() | undefined,
+-type t() :: #{name => atom() | undefined,
+ vsn => string() | undefined,
- applications := [atom()],
- included_applications := [atom()],
+ applications => [atom()],
+ included_applications => [atom()],
- dir := file:name() | undefined,
- link := boolean() | undefined,
+ dir => file:name() | undefined,
+ link => boolean() | undefined,
%% `project' app is one the user is actively developing on
%% `dep' is dependency fetched by rebar3
%% `checkout' is a dependency linked to from the _checkouts dir
%% and treated like a project app
%% `system' applications are dependencies from Erlang/OTP
- app_type := app_type()}.
+ app_type => app_type()}.
-export_type([t/0,
app_type/0]).
diff -Ndurp relx-4.3.0/src/rlx_release.erl relx-4.3.0-pre19/src/rlx_release.erl
--- relx-4.3.0/src/rlx_release.erl 2021-02-04 20:32:32.000000000 +0200
+++ relx-4.3.0-pre19/src/rlx_release.erl 2021-03-23 17:33:36.772748627 +0200
@@ -79,7 +79,7 @@
-type type() :: permanent | transient | temporary | load | none.
-type incl_apps() :: [name()].
--type parsed_goal() :: #{name := name(),
+-type parsed_goal() :: #{name => name(),
vsn => vsn() | undefined,
type => type(),
included_applications => incl_apps()}.