diff --git a/elixir.spec b/elixir.spec index 557bf76..13049ca 100644 --- a/elixir.spec +++ b/elixir.spec @@ -5,7 +5,7 @@ Name: elixir Version: 1.12.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A modern approach to programming for the Erlang VM License: ASL 2.0 @@ -13,6 +13,7 @@ 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-Fix-elixir-test-assertion-for-erlang-OTP-24.1-11309.patch # See https://bugzilla.redhat.com/1470583 #BuildArch: noarch BuildRequires: erlang-compiler @@ -62,6 +63,7 @@ find -name ".build" -exec rm \{\} \; # Unpack elixir itself (Source0) %setup -q -D +%patch1 -p1 # Remove windows-specific scripts find -name '*.bat' -exec rm \{\} \; @@ -154,6 +156,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 +* Sat Nov 6 2021 Peter Lemenkov - 1.12.3-3 +- Fix FTBFS with Erlang 24.1 (see GH#11309) + * Fri Sep 24 2021 Timothée Floure - 1.12.3-1 - New upstream release