SHA256
1
0
forked from pool/elixir

Accepting request 221165 from home:matwey:branches:devel:languages:erlang

OBS-URL: https://build.opensuse.org/request/show/221165
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/elixir?expand=0&rev=5
This commit is contained in:
Sascha Peilicke 2014-02-17 09:46:00 +00:00 committed by Git OBS Bridge
parent cdb0bd1b94
commit 869c6ce394
7 changed files with 33 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<service name="tar_scm" mode="disabled"><param name="scm">git</param>
<param name="url">git://github.com/elixir-lang/elixir</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">v0.12.0</param>
<param name="revision">v0.12.3</param>
</service>
<service name="tar_scm" mode="disabled"><param name="scm">git</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d1d72a75eeb6cf69d66240370b8807f11aec4afadaa015914fb4a89d122e170a
size 767949

3
elixir-v0.12.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bfab3589e51929643b6305d96211eb53a3c2e9e26b2f83928d8f0a559be54aae
size 769879

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Feb 6 17:38:37 UTC 2014 - matwey.kornilov@gmail.com
- Add macros.elixir for packaging elixir-packages
-------------------------------------------------------------------
Thu Feb 6 07:51:55 UTC 2014 - matwey.kornilov@gmail.com
- Update to 0.12.3
- number of bugfixes
- see CHANGELOG.md for backward incompatibilities
-------------------------------------------------------------------
Sun Dec 29 16:25:59 FET 2013 - gonzih@gmail.com

View File

@ -16,7 +16,7 @@
#
Name: elixir
Version: 0.12.0
Version: 0.12.3
Release: 1
License: Apache-2.0 and ErlPL-1.1
Summary: Functional meta-programming aware language built on top of the Erlang
@ -24,6 +24,7 @@ Url: http://elixir-lang.org
Group: Development/Languages/Other
Source0: elixir-v%{version}.tar.bz2
Source1: ex_doc-master.tar.bz2
Source2: macros.elixir
BuildRequires: erlang make gcc
# required by Mix.SCM.Git see also (https://github.com/elixir-lang/elixir/issues/1386)
Requires: git >= 1.7
@ -66,6 +67,7 @@ for I in iex elixir elixirc mix
do
ln -sf %{elixirdir}/bin/$I %{buildroot}%{_bindir}/$I
done
install -D -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/rpm/macros.elixir
%check
make test
@ -84,6 +86,7 @@ make test
%{elixirdir}/bin/mix
%{elixirdir}/bin/elixir
%{elixirdir}/lib/*
%config %{_sysconfdir}/rpm/macros.elixir
%files doc
%defattr(-,root,root)

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a17d87a4382ff0f3e1b6faee0ac5d14e262aa6ca1fa092f6c27a5496ca70ada3
size 1035705
oid sha256:bfdb1f710469492fba11e49e18c2418eeee749ae41003ade52794b0654026890
size 83546

11
macros.elixir Normal file
View File

@ -0,0 +1,11 @@
# macros.elixir
#
%elixir_dir %{_prefix}/lib/elixir
%elixir_libdir %{_prefix}/lib/elixir/lib
%__mix %{_bindir}/mix
%mix_compile() \
MIX_ENV=prod %__mix compile \
%{nil}