From 19904c40be115dcf5445a14d9113babedf17d016 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 25 Jun 2019 13:49:51 +0200 Subject: [PATCH] Update to upstream 1.9.0 Signed-off-by: Peter Lemenkov --- ...t-check-for-endianness-when-starting.patch | 42 ------------------- elixir.spec | 6 ++- sources | 4 +- 3 files changed, 6 insertions(+), 46 deletions(-) delete mode 100644 elixir-0001-Don-t-check-for-endianness-when-starting.patch diff --git a/elixir-0001-Don-t-check-for-endianness-when-starting.patch b/elixir-0001-Don-t-check-for-endianness-when-starting.patch deleted file mode 100644 index afc451d..0000000 --- a/elixir-0001-Don-t-check-for-endianness-when-starting.patch +++ /dev/null @@ -1,42 +0,0 @@ -From: Peter Lemenkov -Date: Tue, 16 Apr 2019 16:58:58 +0300 -Subject: [PATCH] Don't check for endianness when starting - -Signed-off-by: Peter Lemenkov - -diff --git a/lib/elixir/src/elixir.erl b/lib/elixir/src/elixir.erl -index e0cc49b09..ea68e8ba7 100644 ---- a/lib/elixir/src/elixir.erl -+++ b/lib/elixir/src/elixir.erl -@@ -31,7 +31,6 @@ start(_Type, _Args) -> - preload_common_modules(), - set_stdio_and_stderr_to_binary_and_maybe_utf8(), - check_file_encoding(Encoding), -- check_endianness(), - - Tokenizer = case code:ensure_loaded('Elixir.String.Tokenizer') of - {module, Mod} -> Mod; -@@ -114,23 +113,6 @@ parse_otp_release() -> - erlang:halt(1) - end. - --check_endianness() -> -- case code:ensure_loaded(?system) of -- {module, ?system} -> -- Endianness = ?system:endianness(), -- case ?system:compiled_endianness() of -- Endianness -> -- ok; -- _ -> -- io:format(standard_error, -- "warning: Elixir is running in a system with a different endianness than the one its " -- "source code was compiled in. Please make sure Elixir and all source files were compiled " -- "in a machine with the same endianness as the current one: ~ts~n", [Endianness]) -- end; -- {error, _} -> -- ok -- end. -- - check_file_encoding(Encoding) -> - case Encoding of - latin1 -> diff --git a/elixir.spec b/elixir.spec index 9953d30..db46b00 100644 --- a/elixir.spec +++ b/elixir.spec @@ -4,7 +4,7 @@ %global __with_rebar3 0 Name: elixir -Version: 1.8.2 +Version: 1.9.0 Release: 1%{?dist} Summary: A modern approach to programming for the Erlang VM @@ -13,7 +13,6 @@ URL: http://elixir-lang.org/ Source0: https://github.com/elixir-lang/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: https://github.com/elixir-lang/%{name}/releases/download/v%{version}/Docs.zip#/%{name}-%{version}-doc.zip -Patch1: elixir-0001-Don-t-check-for-endianness-when-starting.patch #BuildArch: noarch BuildRequires: erlang-compiler BuildRequires: erlang-crypto @@ -152,6 +151,9 @@ HTML documentation for eex, elixir, iex, logger and mix. %doc docs/doc/eex docs/doc/elixir docs/doc/iex docs/doc/logger docs/doc/mix %changelog +* Tue Jun 25 2019 Peter Lemenkov - 1.9.0-1 +- New upstream release + * Wed May 15 2019 Timothée Floure - 1.8.2-1 - New upstream release diff --git a/sources b/sources index e1166ba..7161995 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (elixir-1.8.2.tar.gz) = 0b30fec1cdc85884c1076e10c6e594b1855a325ae8c070bb3bd9af11998b21b273d7185b59954183b1fd525a2852a61be9c2eec54d9adb8ec1fdeb0200714857 -SHA512 (elixir-1.8.2-doc.zip) = 409030abaaf1bcc87dbda850058f36a2f4e4b29ef7c086c130b1619f3d44c79276b8ec42796fb9723704a948db1f828146dc85aa15477029e3cceeb6d6007163 +SHA512 (elixir-1.9.0-doc.zip) = a63ae1c11f0e2c787a18309fcf02e5eba579b7161d552fa70e0d9987e3a2407109b7cbc3ac8e9a9bca50c3a185f1d9f16e0dd3354c28f9aaf93211e1db054226 +SHA512 (elixir-1.9.0.tar.gz) = 3ecdbb2565cdaf51d6119b5dba42b4b180484aea96e9fe1f85febfb7c3f185b869aab94a22b5052dd84073be1a50ecb97d76dd1bc87f7fdc38a12cff65d2caf6