New Elixir upstream release (0.6.0)

This commit is contained in:
Ricky Elrod 2012-08-01 12:55:59 -04:00
parent 286007c01f
commit 57a409c457
3 changed files with 15 additions and 6 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
*.src.rpm
/elixir-lang-elixir-v0.5.0-0-g6052352.tar.gz /elixir-lang-elixir-v0.5.0-0-g6052352.tar.gz
/elixir-lang-elixir-v0.6.0-0-g01a575e.tar.gz

View File

@ -1,10 +1,10 @@
%define gitcommit 6052352 %define gitcommit 01a575e
%define gitdate 20120526 %define gitdate 20120801
%define patchlevel 0 %define patchlevel 0
Name: elixir Name: elixir
Version: 0.5.0 Version: 0.6.0
Release: 1.%{gitdate}git%{gitcommit}%{?dist} 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 Group: Development/Languages
# See LEGAL (provided by upstream) for explaination/breakdown. # See LEGAL (provided by upstream) for explaination/breakdown.
@ -16,6 +16,7 @@ Source0: %{name}-lang-%{name}-v%{version}-%{patchlevel}-g%{gitcommit}.tar
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: erlang-rebar BuildRequires: erlang-rebar
BuildRequires: git
Requires: erlang-erts >= R15B Requires: erlang-erts >= R15B
Requires: erlang-inets Requires: erlang-inets
@ -33,6 +34,9 @@ find -name '*.bat' -exec rm \{\} \;
make %{?_smp_mflags} make %{?_smp_mflags}
%check %check
# The need for this has fixed upstream and will be in the next release.
git config --global user.name "Fedora Build"
make test make test
%install %install
@ -42,7 +46,7 @@ rm -rf %{buildroot}
rm rebar rm rebar
mkdir -p %{buildroot}/%{_datadir}/%{name}/%{version} 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} mkdir -p %{buildroot}/%{_bindir}
ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex} %{buildroot}/%{_bindir}/ ln -s %{_datadir}/%{name}/%{version}/bin/{elixir,elixirc,iex} %{buildroot}/%{_bindir}/
@ -60,5 +64,8 @@ rm -rf %{buildroot}
%changelog %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 * Sat May 26 2012 Ricky Elrod <codeblock@fedoraproject.org> - 0.5.0-1.20120526git6052352
- Initial build. - Initial build.

View File

@ -1 +1 @@
a5de19d99387c9fff44e8a56fb3a58d5 elixir-lang-elixir-v0.5.0-0-g6052352.tar.gz 171294c348136ab4a09c6bbe55e0d350 elixir-lang-elixir-v0.6.0-0-g01a575e.tar.gz