Update to elixir 1.11.2, fix specfile errors

This commit is contained in:
Timothée Floure 2020-11-16 11:16:55 +01:00
parent 78080f139d
commit 03e42d79a6
2 changed files with 15 additions and 12 deletions

View File

@ -4,8 +4,8 @@
%global __with_rebar3 0
Name: elixir
Version: 1.10.2
Release: 3%{?dist}
Version: 1.11.2
Release: 1%{?dist}
Summary: A modern approach to programming for the Erlang VM
License: ASL 2.0
@ -26,10 +26,10 @@ BuildRequires: erlang-parsetools
BuildRequires: erlang-public_key
%if %{__with_rebar}
BuildRequires: erlang-rebar
%endif %{__with_rebar}
%endif
%if %{__with_rebar3}
BuildRequires: erlang-rebar3
%endif %{__with_rebar3}
%endif
BuildRequires: erlang-sasl
BuildRequires: erlang-stdlib
BuildRequires: erlang-tools
@ -83,7 +83,7 @@ rm -f ./lib/mix/test/fixtures/rebar ./lib/mix/test/fixtures/rebar3
# Disable rebar-related tests (tests require both rebar and rebar3)
rm -f ./lib/mix/test/mix/rebar_test.exs
touch ./lib/mix/test/fixtures/rebar
%endif %{__with_rebar}
%endif
%if %{__with_rebar3}
# Do nothing
@ -91,17 +91,17 @@ touch ./lib/mix/test/fixtures/rebar
# Disable rebar-related tests (tests require both rebar and rebar3)
rm -f ./lib/mix/test/mix/rebar_test.exs
touch ./lib/mix/test/fixtures/rebar3
%endif %{__with_rebar3}
%endif
%build
export LANG=C.UTF-8
%if %{__with_rebar}
export REBAR=/usr/bin/rebar
export REBAR_DEPS_PREFER_LIBS=TRUE
%endif %{__with_rebar}
%endif
%if %{__with_rebar3}
export REBAR3=/usr/bin/rebar3
%endif %{__with_rebar3}
%endif
export ERL_LIBS=/usr/share/erlang/lib/
make compile
make build_man
@ -111,10 +111,10 @@ export LANG=C.UTF-8
%if %{__with_rebar}
export REBAR=/usr/bin/rebar
export REBAR_DEPS_PREFER_LIBS=TRUE
%endif %{__with_rebar}
%endif
%if %{__with_rebar3}
export REBAR3=/usr/bin/rebar3
%endif %{__with_rebar3}
%endif
export ERL_LIBS=/usr/share/erlang/lib/
make test
@ -153,6 +153,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
* Mon Nov 16 2020 Timothée Floure <fnux@fedoraproject.org> - 1.11.2-1
- New upstream release
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.2-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1,2 +1,2 @@
SHA512 (elixir-1.10.2.tar.gz) = a1d1c7847fc8135865d063c6e014bee970066ba07f979f308bec456a732f5366a9343631239965d1caeeaea5cdb644f35185fdfb23f18fcc8c6735a7e3256c0f
SHA512 (elixir-1.10.2-doc.zip) = c485dd315113cc13509bf47b4992f9e1825d433f5f5c923f22c792b100afa09e42ee7975c93c8d585bf58fce1713b50864c1fde829feda3c361335357b9b10ae
SHA512 (elixir-1.11.2.tar.gz) = 472a531353d5f393b0223008ac95ae67b0dc6708143df59a4dd359fdb631329f8a8bded886f53be232e076d194e14a76325fab51a59ec2451706f4f35836bc70
SHA512 (elixir-1.11.2-doc.zip) = 78d5ad489e3788c4c4257de404ee0e09c4f0cf5ba45290e331ddbe1f980796acda54559fba0a1fd55c4ea34d469129b1c4f1d9aac029807fff8e865919b2613a