New Elixir upstream release (0.6.0)
This commit is contained in:
parent
286007c01f
commit
57a409c457
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
||||
*.src.rpm
|
||||
/elixir-lang-elixir-v0.5.0-0-g6052352.tar.gz
|
||||
/elixir-lang-elixir-v0.6.0-0-g01a575e.tar.gz
|
||||
|
17
elixir.spec
17
elixir.spec
@ -1,10 +1,10 @@
|
||||
%define gitcommit 6052352
|
||||
%define gitdate 20120526
|
||||
%define gitcommit 01a575e
|
||||
%define gitdate 20120801
|
||||
%define patchlevel 0
|
||||
Name: elixir
|
||||
Version: 0.5.0
|
||||
Version: 0.6.0
|
||||
Release: 1.%{gitdate}git%{gitcommit}%{?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.
|
||||
@ -16,6 +16,7 @@ Source0: %{name}-lang-%{name}-v%{version}-%{patchlevel}-g%{gitcommit}.tar
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: erlang-rebar
|
||||
BuildRequires: git
|
||||
Requires: erlang-erts >= R15B
|
||||
Requires: erlang-inets
|
||||
|
||||
@ -33,6 +34,9 @@ find -name '*.bat' -exec rm \{\} \;
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
# The need for this has fixed upstream and will be in the next release.
|
||||
git config --global user.name "Fedora Build"
|
||||
|
||||
make test
|
||||
|
||||
%install
|
||||
@ -42,7 +46,7 @@ rm -rf %{buildroot}
|
||||
rm rebar
|
||||
|
||||
mkdir -p %{buildroot}/%{_datadir}/%{name}/%{version}
|
||||
cp -ra bin ebin include %{buildroot}/%{_datadir}/%{name}/%{version}
|
||||
cp -ra bin lib %{buildroot}/%{_datadir}/%{name}/%{version}
|
||||
|
||||
mkdir -p %{buildroot}/%{_bindir}
|
||||
ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex} %{buildroot}/%{_bindir}/
|
||||
@ -60,5 +64,8 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Aug 1 2012 Ricky Elrod <codeblock@fedoraproject.org> - 0.6.0-1.20120801git01a575e
|
||||
- Update to upstream 0.6.0.
|
||||
|
||||
* Sat May 26 2012 Ricky Elrod <codeblock@fedoraproject.org> - 0.5.0-1.20120526git6052352
|
||||
- Initial build.
|
||||
|
Loading…
Reference in New Issue
Block a user