Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package elixir for openSUSE:Factory checked 
in at 2021-11-05 22:59:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/elixir (Old)
 and      /work/SRC/openSUSE:Factory/.elixir.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "elixir"

Fri Nov  5 22:59:13 2021 rev:19 rq:929752 version:1.12.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/elixir/elixir.changes    2021-09-29 
20:20:14.263103603 +0200
+++ /work/SRC/openSUSE:Factory/.elixir.new.1890/elixir.changes  2021-11-05 
22:59:35.668319476 +0100
@@ -1,0 +2,6 @@
+Fri Nov  5 11:51:18 UTC 2021 - Matwey Kornilov <matwey.korni...@gmail.com>
+
+- Add 0001-Add-retries-to-tests-that-write-to-stderr-on-Windows.patch:
+  fix build for Factory
+
+-------------------------------------------------------------------

New:
----
  0001-Add-retries-to-tests-that-write-to-stderr-on-Windows.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ elixir.spec ++++++
--- /var/tmp/diff_new_pack.rDPPFj/_old  2021-11-05 22:59:36.088319756 +0100
+++ /var/tmp/diff_new_pack.rDPPFj/_new  2021-11-05 22:59:36.092319759 +0100
@@ -25,6 +25,7 @@
 URL:            http://elixir-lang.org
 Source0:        
https://github.com/elixir-lang/elixir/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source2:        macros.elixir
+Patch0:         0001-Add-retries-to-tests-that-write-to-stderr-on-Windows.patch
 BuildRequires:  gcc
 BuildRequires:  make
 # required by Mix.SCM.Git see also 
(https://github.com/elixir-lang/elixir/issues/1386)
@@ -66,6 +67,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # Elixir wants UTF-8 locale, force it

++++++ 0001-Add-retries-to-tests-that-write-to-stderr-on-Windows.patch ++++++
>From f8778d13735349d4e7e359a38e7b677693182156 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Valim?= <jose.va...@dashbit.co>
Date: Tue, 24 Aug 2021 13:04:46 +0200
Subject: [PATCH] Add retries to tests that write to stderr on Windows

---
 lib/elixir/test/elixir/exception_test.exs | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/lib/elixir/test/elixir/exception_test.exs 
b/lib/elixir/test/elixir/exception_test.exs
index 6242194f7..fa8a5d3e4 100644
--- a/lib/elixir/test/elixir/exception_test.exs
+++ b/lib/elixir/test/elixir/exception_test.exs
@@ -470,12 +470,13 @@ test "annotates undefined function error with 
suggestions" do
                    * min/1
              """
 
-      assert blame_message(:erlang, & &1.gt_cookie()) == """
-             function :erlang.gt_cookie/0 is undefined or private. Did you 
mean one of:
+      message = blame_message(:erlang, & &1.gt_cookie())
 
-                   * get_cookie/0
-                   * set_cookie/2
-             """
+      assert message =~
+               "function :erlang.gt_cookie/0 is undefined or private. Did you 
mean one of:"
+
+      assert message =~ "* get_cookie/0"
+      assert message =~ "* set_cookie/2"
     end
 
     test "annotates undefined function clause error with macro hints" do
-- 
2.31.1

Reply via email to