Compare commits
20 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
73905f1f2f | ||
|
eceb2ca7c2 | ||
|
fd80a3b22a | ||
|
6c791e729e | ||
d1682eb88a | |||
8358573669 | |||
f5347c31d3 | |||
|
9d932a7c0b | ||
a0806c734c | |||
8c3f6ee34e | |||
626f06260a | |||
|
78643587ee | ||
a357aa6e55 | |||
|
352ce321f1 | ||
b5f23af113 | |||
be1ba36d58 | |||
b312022ca1 | |||
1fbd1c3ff8 | |||
c7c5cb5f33 | |||
0fee4ad967 |
22
001-skip-translator-supervisor-test.patch
Normal file
22
001-skip-translator-supervisor-test.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff --git a/lib/logger/test/logger/translator_test.exs b/lib/logger/test/logger/translator_test.exs
|
||||
index e15010a29..cc99f945b 100644
|
||||
--- a/lib/logger/test/logger/translator_test.exs
|
||||
+++ b/lib/logger/test/logger/translator_test.exs
|
||||
@@ -945,6 +945,7 @@ test "translates :proc_lib crashes with neighbour with name" do
|
||||
"""
|
||||
end
|
||||
|
||||
+ @tag :skip
|
||||
test "translates Supervisor progress" do
|
||||
{:ok, pid} = Supervisor.start_link([], strategy: :one_for_one)
|
||||
|
||||
@@ -960,6 +961,7 @@ test "translates Supervisor progress" do
|
||||
"""
|
||||
end
|
||||
|
||||
+ @tag :skip
|
||||
test "translates Supervisor progress with name" do
|
||||
{:ok, pid} = Supervisor.start_link([], strategy: :one_for_one, name: __MODULE__)
|
||||
|
||||
|
||||
|
12
002-skip-tests-iex-helpers.patch
Normal file
12
002-skip-tests-iex-helpers.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/lib/iex/test/iex/helpers_test.exs b/lib/iex/test/iex/helpers_test.exs
|
||||
index 10d9ecf57..ed9955aba 100644
|
||||
--- a/lib/iex/test/iex/helpers_test.exs
|
||||
+++ b/lib/iex/test/iex/helpers_test.exs
|
||||
@@ -10,6 +10,7 @@ defmodule IEx.HelpersTest do
|
||||
import IEx.Helpers
|
||||
|
||||
@compile {:no_warn_undefined, [:sample, Sample, Sample2]}
|
||||
+ @moduletag :skip
|
||||
|
||||
describe "whereami" do
|
||||
test "is disabled by default" do
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10e0552134367a6fa285bc01271ba0bc79537b877b32a158489b21363f70b9e8
|
||||
size 6088686
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a163128e618e5205ea749f8effafa5b540008fd0bed863e75e2e09663a00ec45
|
||||
size 3360376
|
BIN
elixir-1.18.4-doc.zip
(Stored with Git LFS)
Normal file
BIN
elixir-1.18.4-doc.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
elixir-1.18.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
elixir-1.18.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,70 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 9 07:35:49 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org>
|
||||
|
||||
- Reproducible builds: try enabling the `deterministic` build flag for the Erlang compiler
|
||||
- Add 002-skip-tests-iex-helpers.patch:
|
||||
* Skip some iex tests that are failing due to the `deterministic` Erlang build flag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 21 16:27:11 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org>
|
||||
|
||||
- Upgrade to Elixir 1.18.4:
|
||||
* Changelog available at https://hexdocs.pm/elixir/1.18.4/changelog.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 09:56:17 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org>
|
||||
|
||||
- Upgrade to Elixir 1.18.3:
|
||||
* Changelog available at https://hexdocs.pm/elixir/1.18.3/changelog.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 23 10:44:38 UTC 2025 - Alessio Biancalana <alessio.biancalana@suse.com>
|
||||
|
||||
- Upgrade to Elixir 1.18.2:
|
||||
* Changelog available at https://hexdocs.pm/elixir/1.18.2/changelog.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 25 13:43:53 UTC 2024 - Alessio Biancalana <alessio.biancalana@suse.com>
|
||||
|
||||
- Upgrade to Elixir 1.18.1:
|
||||
* Changelog available at https://hexdocs.pm/elixir/1.18.1/changelog.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 20 08:33:57 UTC 2024 - Alessio Biancalana <alessio.biancalana@suse.com>
|
||||
|
||||
- Upgrade to Elixir 1.18.0:
|
||||
* Changelog available at https://hexdocs.pm/elixir/1.18.0/changelog.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 19 09:45:16 UTC 2024 - Alessio Biancalana <alessio.biancalana@suse.com>
|
||||
|
||||
- Add 001-skip-translator-supervisor-test.patch to make the package build correctly
|
||||
- Pass elixir.spec through spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 07:35:25 UTC 2024 - Alessio Biancalana <alessio.biancalana@suse.com>
|
||||
|
||||
- Upgrade to Elixir 1.17.3:
|
||||
* Changelog available at https://hexdocs.pm/elixir/1.17.3/changelog.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 7 09:23:37 UTC 2024 - Alessio Biancalana <alessio.biancalana@suse.com>
|
||||
|
||||
- Upgrade to Elixir 1.17.2:
|
||||
* Changelog available at https://hexdocs.pm/elixir/1.17.2/changelog.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 16:33:41 UTC 2024 - Alessio Biancalana <alessio.biancalana@suse.com>
|
||||
|
||||
- Upgrade to Elixir 1.17.1:
|
||||
* Changelog available at https://hexdocs.pm/elixir/1.17.1/changelog.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 17:30:06 UTC 2024 - Alessio Biancalana <alessio.biancalana@suse.com>
|
||||
|
||||
- Upgrade to Elixir 1.17.0:
|
||||
* Changelog available at https://hexdocs.pm/elixir/1.17.0/changelog.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 26 16:29:58 UTC 2024 - Alessio Biancalana <alessio.biancalana@suse.com>
|
||||
|
||||
@@ -3230,7 +3297,7 @@ Thu Feb 6 07:51:55 UTC 2014 - matwey.kornilov@gmail.com
|
||||
- see CHANGELOG.md for backward incompatibilities
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 29 16:25:59 FET 2013 - gonzih@gmail.com
|
||||
Sun Dec 29 13:25:59 UTC 2013 - gonzih@gmail.com
|
||||
|
||||
- Update to 0.12.0
|
||||
|
||||
|
42
elixir.spec
42
elixir.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package elixir
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,28 +17,28 @@
|
||||
|
||||
|
||||
%define elixirdir %{_prefix}/lib/elixir
|
||||
|
||||
Name: elixir
|
||||
Version: 1.16.3
|
||||
Version: 1.18.4
|
||||
Release: 0
|
||||
Summary: Functional meta-programming aware language built atop Erlang
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Other
|
||||
URL: http://elixir-lang.org
|
||||
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
|
||||
Source2: macros.elixir
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
Requires: erlang >= 24
|
||||
BuildRequires: erlang >= 24
|
||||
Patch0: 001-skip-translator-supervisor-test.patch
|
||||
Patch1: 002-skip-tests-iex-helpers.patch
|
||||
BuildRequires: erlang >= 25
|
||||
BuildRequires: erlang-dialyzer
|
||||
BuildRequires: erlang-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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: erlang >= 25
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@@ -59,8 +59,8 @@ without any conversion or performance impact.
|
||||
%package doc
|
||||
Summary: Documentation for elixir
|
||||
Group: Documentation/Other
|
||||
BuildArch: noarch
|
||||
Requires: elixir = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
Documentation for the Elixir language.
|
||||
@@ -74,8 +74,12 @@ find doc \( -name ".build" -or -name ".ex_doc" \) -delete
|
||||
%build
|
||||
# Elixir wants UTF-8 locale, force it
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
# Enable deterministic builds in the Erlang compiler
|
||||
export ERL_COMPILER_OPTIONS=deterministic
|
||||
|
||||
# Make Elixir
|
||||
make
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
|
||||
@@ -86,7 +90,7 @@ do
|
||||
ln -sf %{elixirdir}/bin/$I %{buildroot}%{_bindir}/$I
|
||||
done
|
||||
|
||||
install -D -m 0644 %{S:2} %{buildroot}%{_rpmmacrodir}/macros.elixir
|
||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.elixir
|
||||
|
||||
mkdir -p %{buildroot}%{_defaultdocdir}
|
||||
cp -pa doc %{buildroot}%{_defaultdocdir}/elixir-doc
|
||||
@@ -96,10 +100,9 @@ cp -pa doc %{buildroot}%{_defaultdocdir}/elixir-doc
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
make test
|
||||
%make_build test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGELOG.md README.md NOTICE
|
||||
%license LICENSE
|
||||
%dir %{elixirdir}
|
||||
@@ -109,10 +112,10 @@ make test
|
||||
%{_bindir}/elixir
|
||||
%{_bindir}/elixirc
|
||||
%{_bindir}/mix
|
||||
%{_mandir}/man1/iex.1.gz
|
||||
%{_mandir}/man1/elixir.1.gz
|
||||
%{_mandir}/man1/elixirc.1.gz
|
||||
%{_mandir}/man1/mix.1.gz
|
||||
%{_mandir}/man1/iex.1%{?ext_man}
|
||||
%{_mandir}/man1/elixir.1%{?ext_man}
|
||||
%{_mandir}/man1/elixirc.1%{?ext_man}
|
||||
%{_mandir}/man1/mix.1%{?ext_man}
|
||||
%{elixirdir}/bin/iex
|
||||
%{elixirdir}/bin/elixirc
|
||||
%{elixirdir}/bin/mix
|
||||
@@ -121,7 +124,6 @@ make test
|
||||
%{_rpmmacrodir}/macros.elixir
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%license LICENSE
|
||||
%{_defaultdocdir}/elixir-doc
|
||||
|
||||
|
Reference in New Issue
Block a user