SHA256
1
0
forked from pool/elixir

3 Commits

Author SHA256 Message Date
Simon Lees
1706291260 More Elixir fixes 2025-11-18 16:51:08 +10:30
Simon Lees
fbfa9bda34 Fix erlang requires 2025-11-18 16:44:09 +10:30
Simon Lees
ee4fcf5d6f Create elixir27 to test 2025-11-18 16:29:05 +10:30
2 changed files with 20 additions and 8 deletions

View File

@@ -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>

View File

@@ -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