forked from pool/elixir
Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
1706291260 | ||
|
|
fbfa9bda34 | ||
|
|
ee4fcf5d6f |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 07:11:28 UTC 2025 - Simon Lees <sflees@suse.de>
|
||||||
|
|
||||||
|
- Fork from elixir package for rabbitmq-server
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 13 18:04:24 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org>
|
Thu Nov 13 18:04:24 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org>
|
||||||
|
|
||||||
@@ -17,30 +17,35 @@
|
|||||||
|
|
||||||
|
|
||||||
%define elixirdir %{_prefix}/lib/elixir
|
%define elixirdir %{_prefix}/lib/elixir
|
||||||
Name: elixir
|
%define _name elixir
|
||||||
|
Name: elixir27
|
||||||
Version: 1.19.3
|
Version: 1.19.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Functional meta-programming aware language built atop Erlang
|
Summary: Functional meta-programming aware language built atop Erlang
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
URL: https://elixir-lang.org
|
URL: https://elixir-lang.org
|
||||||
Source0: https://github.com/elixir-lang/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
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
|
Source1: https://github.com/elixir-lang/%{_name}/releases/download/v%{version}/Docs.zip#/%{_name}-%{version}-doc.zip
|
||||||
Source2: macros.elixir
|
Source2: macros.elixir
|
||||||
Source100: README.md
|
Source100: README.md
|
||||||
Patch0: 001-skip-translator-supervisor-test.patch
|
Patch0: 001-skip-translator-supervisor-test.patch
|
||||||
Patch1: 002-skip-tests-iex-helpers.patch
|
Patch1: 002-skip-tests-iex-helpers.patch
|
||||||
BuildRequires: erlang >= 25
|
BuildRequires: erlang27
|
||||||
BuildRequires: erlang-dialyzer
|
# Required to break conflict
|
||||||
BuildRequires: erlang-src
|
BuildRequires: erlang27-epmd
|
||||||
|
BuildRequires: erlang27-dialyzer
|
||||||
|
BuildRequires: erlang27-src
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
# required by Mix.SCM.Git see also (https://github.com/elixir-lang/elixir/issues/1386)
|
# required by Mix.SCM.Git see also (https://github.com/elixir-lang/elixir/issues/1386)
|
||||||
BuildRequires: git-core >= 1.7
|
BuildRequires: git-core >= 1.7
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires: erlang >= 25
|
Requires: erlang27
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Provides: elixir = %{version}
|
||||||
|
Conflicts: other_providers(elixir)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Elixir is a functional meta-programming aware language built on top
|
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)
|
This means one can invoke Erlang code from Elixir (and vice-versa)
|
||||||
without any conversion or performance impact.
|
without any conversion or performance impact.
|
||||||
|
|
||||||
|
This version of elixir builds against erlang27 for rabbitmq-server
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for elixir
|
Summary: Documentation for elixir
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
@@ -67,7 +74,7 @@ BuildArch: noarch
|
|||||||
Documentation for the Elixir language.
|
Documentation for the Elixir language.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -n %{_name}-%{version}
|
||||||
|
|
||||||
unzip -o %{SOURCE1}
|
unzip -o %{SOURCE1}
|
||||||
find doc \( -name ".build" -or -name ".ex_doc" \) -delete
|
find doc \( -name ".build" -or -name ".ex_doc" \) -delete
|
||||||
Reference in New Issue
Block a user