Ver. 1.2.5

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
Peter Lemenkov 2016-05-20 15:39:25 +03:00
parent 981c538a77
commit 9a2bf24f64
3 changed files with 8 additions and 23 deletions

View File

@ -1,11 +0,0 @@
#!/usr/bin/env bash
# (Note: This isn't used in the build at all, just a convenience script to
# avoid having to copy-paste the download link from GitHub each update).
if [ "$1" == "" ]; then
echo 'usage: ./download-from-github <elixir version>'
exit 1
fi
wget -O "elixir-$1.tar.gz" \
"https://github.com/elixir-lang/elixir/archive/v$1.tar.gz"

View File

@ -1,5 +1,5 @@
Name: elixir
Version: 1.2.4
Version: 1.2.5
Release: 1%{?dist}
Summary: A modern approach to programming for the Erlang VM
@ -10,11 +10,8 @@ URL: http://elixir-lang.org/
Source0: https://github.com/elixir-lang/elixir/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: erlang >= R17
BuildRequires: erlang-rebar
BuildRequires: git
Requires: erlang-erts >= R17
Requires: erlang-inets
%description
Elixir is a programming language built on top of the Erlang VM.
@ -23,8 +20,6 @@ fault-tolerant, non-stop applications with hot code swapping.
%prep
%setup -q
rm rebar
ln -s "$(which rebar)" .
sed -i -e "s/time //g" Makefile
find -name '*.bat' -exec rm \{\} \;
@ -33,12 +28,11 @@ find -name '*.bat' -exec rm \{\} \;
rm lib/elixir/test/elixir/io/ansi_test.exs
%build
export LANG="en_US.UTF-8"
make %{?_smp_mflags}
%{rebar_compile}
%check
export LANG="en_US.UTF-8"
make test
%{rebar_eunit}
%install
mkdir -p %{buildroot}/%{_datadir}/%{name}/%{version}
@ -57,10 +51,12 @@ ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex,mix} %{buildroot}/%
%changelog
* Fri May 20 2016 Peter Lemenkov <lemenkov@gmail.com> - 1.2.5-1
- Ver. 1.2.5
* Mon Apr 4 2016 Martin Langhoff <martin@laptop.org> - 1.2.4-1
- New upstream release.
* Wed Feb 24 2016 Martin Langhoff <martin@laptop.org> - 1.2.3-1
- New upstream release.

View File

@ -1 +1 @@
8eb7e75c4639c0a1fc9ac1d570513abd elixir-1.2.4.tar.gz
5149c7f56c65c219b1a2745c0622394d elixir-1.2.5.tar.gz