Update to upstream 1.16.0
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
parent
7214e7f8c5
commit
6269ca0ac7
@ -1,21 +0,0 @@
|
||||
From: =?UTF-8?q?Jos=C3=A9=20Valim?= <jose.valim@dashbit.co>
|
||||
Date: Sun, 2 Jul 2023 10:28:58 +0200
|
||||
Subject: [PATCH] Use PID valid for 32-bit systems, closes #12741
|
||||
|
||||
|
||||
diff --git a/lib/logger/test/logger/formatter_test.exs b/lib/logger/test/logger/formatter_test.exs
|
||||
index 82a2ac6a9..2ea4ca08b 100644
|
||||
--- a/lib/logger/test/logger/formatter_test.exs
|
||||
+++ b/lib/logger/test/logger/formatter_test.exs
|
||||
@@ -116,9 +116,9 @@ test "format with format string" do
|
||||
format = format(compiled, :error, nil, nil, meta: :data)
|
||||
assert IO.chardata_to_string(format) == "meta=data "
|
||||
|
||||
- pid = :erlang.list_to_pid(~c"<0.123.4>")
|
||||
+ pid = :erlang.list_to_pid(~c"<0.123.0>")
|
||||
format = format(compiled, :error, nil, nil, meta: :data, pid: pid)
|
||||
- assert IO.chardata_to_string(format) == "meta=data pid=<0.123.4> "
|
||||
+ assert IO.chardata_to_string(format) == "meta=data pid=<0.123.0> "
|
||||
|
||||
# Hack to get the same predictable reference for every test run.
|
||||
ref =
|
@ -1,32 +0,0 @@
|
||||
From: Peter Lemenkov <lemenkov@gmail.com>
|
||||
Date: Fri, 7 Jul 2023 19:55:11 +0200
|
||||
Subject: [PATCH] Use PID valid for 32-bit systems, followup to #12741
|
||||
|
||||
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
||||
|
||||
diff --git a/lib/iex/test/iex/helpers_test.exs b/lib/iex/test/iex/helpers_test.exs
|
||||
index ec0b58554..1dee4bf7a 100644
|
||||
--- a/lib/iex/test/iex/helpers_test.exs
|
||||
+++ b/lib/iex/test/iex/helpers_test.exs
|
||||
@@ -1364,8 +1364,8 @@ test "reloads Erlang modules" do
|
||||
|
||||
describe "pid/1,3" do
|
||||
test "builds a PID from string" do
|
||||
- assert inspect(pid("0.32767.3276")) == "#PID<0.32767.3276>"
|
||||
- assert inspect(pid("0.5.6")) == "#PID<0.5.6>"
|
||||
+ assert inspect(pid("0.32767.0")) == "#PID<0.32767.0>"
|
||||
+ assert inspect(pid("0.5.0")) == "#PID<0.5.0>"
|
||||
|
||||
assert_raise ArgumentError, fn ->
|
||||
pid("0.6.-6")
|
||||
@@ -1381,8 +1381,8 @@ test "builds a PID from atom" do
|
||||
end
|
||||
|
||||
test "builds a PID from integers" do
|
||||
- assert inspect(pid(0, 32767, 3276)) == "#PID<0.32767.3276>"
|
||||
- assert inspect(pid(0, 5, 6)) == "#PID<0.5.6>"
|
||||
+ assert inspect(pid(0, 32767, 0)) == "#PID<0.32767.0>"
|
||||
+ assert inspect(pid(0, 5, 0)) == "#PID<0.5.0>"
|
||||
|
||||
assert_raise FunctionClauseError, fn ->
|
||||
pid(0, 6, -6)
|
@ -2,7 +2,7 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: elixir
|
||||
Version: 1.15.7
|
||||
Version: 1.16.0
|
||||
Release: %autorelease
|
||||
Summary: A modern approach to programming for the Erlang VM
|
||||
|
||||
@ -11,8 +11,6 @@ URL: https://elixir-lang.org/
|
||||
VCS: scm:git:https://github.com/%{upstream}/%{realname}.git
|
||||
Source0: https://github.com/%{upstream}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/%{upstream}/%{name}/releases/download/v%{version}/Docs.zip#/%{name}-%{version}-doc.zip
|
||||
Patch1: elixir-0001-Use-PID-valid-for-32-bit-systems-closes-12741.patch
|
||||
Patch2: elixir-0002-Use-PID-valid-for-32-bit-systems-followup-to-12741.patch
|
||||
# See https://bugzilla.redhat.com/1470583
|
||||
#BuildArch: noarch
|
||||
BuildRequires: erlang-compiler
|
||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
||||
SHA512 (elixir-1.15.7.tar.gz) = a46f0569cbff342f15a04776f8d57cf2554867546004adabd9b9dff36c184ec56a78f2df2fc6c0855e65c11277662f694f5e6a8c6e1716cf4e22d8fdd5e1d4ae
|
||||
SHA512 (elixir-1.15.7-doc.zip) = 2a5d9723ac3201e30f285ad6040e963ddea7d98396293480f05f4df041b231059f6b13897db557804746028eeedb8f55054712abb6122a287c9147192e28e11e
|
||||
SHA512 (elixir-1.16.0.tar.gz) = b1685d4a6745c08becab02f46a4767189781fd95f0eaa16d78a93e83a1750c5832c509e536c30e635ab62840aae5498052d7ab10a51242161f632405ca99f9cf
|
||||
SHA512 (elixir-1.16.0-doc.zip) = e3267d447de42e12cdb43fd6a3f5308fea05413af1c00aa637a0bf9567115b9821e516cf9058ac3da45b649b3276833e101e56a3ed396841193cc1bfc4bda22d
|
||||
|
Loading…
Reference in New Issue
Block a user