|
|
|
|
@@ -17,30 +17,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define elixirdir %{_prefix}/lib/elixir
|
|
|
|
|
Name: elixir
|
|
|
|
|
%define _name elixir
|
|
|
|
|
Name: elixir27
|
|
|
|
|
Version: 1.19.3
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: Functional meta-programming aware language built atop Erlang
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
|
URL: https://elixir-lang.org
|
|
|
|
|
Source0: https://github.com/elixir-lang/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: https://github.com/elixir-lang/%{name}/releases/download/v%{version}/Docs.zip#/%{name}-%{version}-doc.zip
|
|
|
|
|
Source0: https://github.com/elixir-lang/%{_name}/archive/v%{version}/%{_name}-%{version}.tar.gz
|
|
|
|
|
Source1: https://github.com/elixir-lang/%{_name}/releases/download/v%{version}/Docs.zip#/%{_name}-%{version}-doc.zip
|
|
|
|
|
Source2: macros.elixir
|
|
|
|
|
Source100: README.md
|
|
|
|
|
Patch0: 001-skip-translator-supervisor-test.patch
|
|
|
|
|
Patch1: 002-skip-tests-iex-helpers.patch
|
|
|
|
|
BuildRequires: erlang >= 25
|
|
|
|
|
BuildRequires: erlang-dialyzer
|
|
|
|
|
BuildRequires: erlang-src
|
|
|
|
|
BuildRequires: erlang27
|
|
|
|
|
# Required to break conflict
|
|
|
|
|
BuildRequires: erlang27-epmd
|
|
|
|
|
BuildRequires: erlang27-dialyzer
|
|
|
|
|
BuildRequires: erlang27-src
|
|
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
# required by Mix.SCM.Git see also (https://github.com/elixir-lang/elixir/issues/1386)
|
|
|
|
|
BuildRequires: git-core >= 1.7
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: unzip
|
|
|
|
|
Requires: erlang >= 25
|
|
|
|
|
Requires: erlang27
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: elixir = %{version}
|
|
|
|
|
Conflicts: other_providers(elixir)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Elixir is a functional meta-programming aware language built on top
|
|
|
|
|
@@ -57,6 +62,8 @@ Finally, Elixir and Erlang share the same bytecode and data types.
|
|
|
|
|
This means one can invoke Erlang code from Elixir (and vice-versa)
|
|
|
|
|
without any conversion or performance impact.
|
|
|
|
|
|
|
|
|
|
This version of elixir builds against erlang27 for rabbitmq-server
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation for elixir
|
|
|
|
|
Group: Documentation/Other
|
|
|
|
|
@@ -67,7 +74,7 @@ BuildArch: noarch
|
|
|
|
|
Documentation for the Elixir language.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
%autosetup -p1 -n %{_name}-%{version}
|
|
|
|
|
|
|
|
|
|
unzip -o %{SOURCE1}
|
|
|
|
|
find doc \( -name ".build" -or -name ".ex_doc" \) -delete
|