Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package erlang-rebar for openSUSE:Factory checked in at 2021-01-28 21:29:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/erlang-rebar (Old) and /work/SRC/openSUSE:Factory/.erlang-rebar.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "erlang-rebar" Thu Jan 28 21:29:29 2021 rev:8 rq:867547 version:2.6.4+git20180201.b6d3094 Changes: -------- --- /work/SRC/openSUSE:Factory/erlang-rebar/erlang-rebar-testsuite.changes 2018-09-07 15:41:19.582412500 +0200 +++ /work/SRC/openSUSE:Factory/.erlang-rebar.new.28504/erlang-rebar-testsuite.changes 2021-01-28 21:29:31.720294218 +0100 @@ -1,0 +2,6 @@ +Sat Jan 16 09:08:03 UTC 2021 - Matwey Kornilov <matwey.korni...@gmail.com> + +- Add rebar-0014-erl_interface-was-removed-in-Erlang-23.patch: + erl_interface is missed since Erlang 23 + +------------------------------------------------------------------- erlang-rebar.changes: same change New: ---- rebar-0014-erl_interface-was-removed-in-Erlang-23.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ erlang-rebar-testsuite.spec ++++++ --- /var/tmp/diff_new_pack.etUR8x/_old 2021-01-28 21:29:32.536295445 +0100 +++ /var/tmp/diff_new_pack.etUR8x/_new 2021-01-28 21:29:32.540295450 +0100 @@ -1,7 +1,7 @@ # # spec file for package erlang-rebar-testsuite # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +25,7 @@ Summary: A sophisticated build-tool for Erlang projects that follows OTP principles License: Apache-2.0 Group: Development/Tools/Building -Url: https://github.com/rebar/rebar +URL: https://github.com/rebar/rebar Source: rebar-%{version}.tar.bz2 Source1: macros.erlang-rebar Source98: %{name}.rpmlintrc @@ -33,6 +33,7 @@ Patch5: erlc_dep_graph-timeout.patch # PATCH-FIX-OPENSUSE -- bmwiedemann Patch6: reproducible.patch +Patch7: rebar-0014-erl_interface-was-removed-in-Erlang-23.patch BuildRequires: erlang >= R13B01 %if 0%{?suse_version} > 1320 BuildRequires: strip-nondeterminism @@ -83,6 +84,7 @@ %patch2 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %build export REBAR_DEPS_PREFER_LIBS=1 ++++++ erlang-rebar.spec ++++++ --- /var/tmp/diff_new_pack.etUR8x/_old 2021-01-28 21:29:32.564295486 +0100 +++ /var/tmp/diff_new_pack.etUR8x/_new 2021-01-28 21:29:32.568295493 +0100 @@ -1,7 +1,7 @@ # # spec file for package erlang-rebar # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +25,7 @@ Summary: A sophisticated build-tool for Erlang projects that follows OTP principles License: Apache-2.0 Group: Development/Tools/Building -Url: https://github.com/rebar/rebar +URL: https://github.com/rebar/rebar Source: rebar-%{version}.tar.bz2 Source1: macros.erlang-rebar Source98: %{name}.rpmlintrc @@ -33,6 +33,7 @@ Patch5: erlc_dep_graph-timeout.patch # PATCH-FIX-OPENSUSE -- bmwiedemann Patch6: reproducible.patch +Patch7: rebar-0014-erl_interface-was-removed-in-Erlang-23.patch BuildRequires: erlang >= R13B01 %if 0%{?suse_version} > 1320 BuildRequires: strip-nondeterminism @@ -83,6 +84,7 @@ %patch2 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %build export REBAR_DEPS_PREFER_LIBS=1 ++++++ rebar-0014-erl_interface-was-removed-in-Erlang-23.patch ++++++ From: Peter Lemenkov <lemen...@gmail.com> Date: Tue, 10 Nov 2020 16:20:46 +0100 Subject: [PATCH] erl_interface was removed in Erlang 23 Signed-off-by: Peter Lemenkov <lemen...@gmail.com> diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl index 0ba9e84..46ad1c2 100644 --- a/src/rebar_port_compiler.erl +++ b/src/rebar_port_compiler.erl @@ -137,7 +137,7 @@ info_help(Description) -> " CXXFLAGS - C++ compiler~n" " LDFLAGS - Link flags~n" " ERL_CFLAGS - default -I paths for erts and ei~n" - " ERL_LDFLAGS - default -L and -lerl_interface -lei~n" + " ERL_LDFLAGS - default -L and -lei~n" " DRV_CFLAGS - flags that will be used for compiling~n" " DRV_LDFLAGS - flags that will be used for linking~n" " EXE_CFLAGS - flags that will be used for compiling~n" @@ -679,7 +679,7 @@ default_env() -> "\" " ])}, {"ERL_EI_LIBDIR", lists:concat(["\"", erl_interface_dir(lib), "\""])}, - {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lerl_interface -lei"}, + {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lei"}, {"ERLANG_ARCH" , rebar_utils:wordsize()}, {"ERLANG_TARGET", rebar_utils:get_arch()}, @@ -727,7 +727,7 @@ default_env() -> "$LINKER $PORT_IN_FILES $LDFLAGS $EXE_LDFLAGS /OUT:$PORT_OUT_FILE"}, %% ERL_CFLAGS are ok as -I even though strictly it should be /I {"win32", "ERL_LDFLAGS", - " /LIBPATH:$ERL_EI_LIBDIR erl_interface.lib ei.lib"}, + " /LIBPATH:$ERL_EI_LIBDIR ei.lib"}, {"win32", "DRV_CFLAGS", "/Zi /Wall $ERL_CFLAGS"}, {"win32", "DRV_LDFLAGS", "/DLL $ERL_LDFLAGS"} ].