Update to upstream 1.9.0
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
parent
f7bf204fca
commit
19904c40be
@ -1,42 +0,0 @@
|
||||
From: Peter Lemenkov <lemenkov@gmail.com>
|
||||
Date: Tue, 16 Apr 2019 16:58:58 +0300
|
||||
Subject: [PATCH] Don't check for endianness when starting
|
||||
|
||||
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
||||
|
||||
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 ->
|
@ -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 <lemenkov@gmail.com> - 1.9.0-1
|
||||
- New upstream release
|
||||
|
||||
* Wed May 15 2019 Timothée Floure <fnux@fedoraproject.org> - 1.8.2-1
|
||||
- New upstream release
|
||||
|
||||
|
4
sources
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user