Ver. 1.2.5
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
parent
981c538a77
commit
9a2bf24f64
@ -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"
|
18
elixir.spec
18
elixir.spec
@ -1,7 +1,7 @@
|
||||
Name: elixir
|
||||
Version: 1.2.4
|
||||
Version: 1.2.5
|
||||
Release: 1%{?dist}
|
||||
Summary: A modern approach to programming for the Erlang VM
|
||||
Summary: A modern approach to programming for the Erlang VM
|
||||
|
||||
Group: Development/Languages
|
||||
# See LEGAL (provided by upstream) for explaination/breakdown.
|
||||
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user