Accepting request 351574 from home:namtrac:branches:devel:languages:erlang

- Update to v1.2.0 
  + Erlang 18 support
  + Many language improvements
  + Please see https://github.com/elixir-lang/elixir/releases/tag/v1.2.0
    for the complete changelog.
- Use original source tarball
- Add erlang-dialyzer dependency for the test suite

OBS-URL: https://build.opensuse.org/request/show/351574
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/elixir?expand=0&rev=11
This commit is contained in:
Andrei Dziahel 2016-01-02 17:42:28 +00:00 committed by Git OBS Bridge
parent f78fb707ff
commit 2f73dc8ee0
6 changed files with 20 additions and 25 deletions

View File

@ -1,13 +0,0 @@
<services>
<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">v1.1.1</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">elixir-*.tar</param>
<param name="compression">bz2</param>
</service>
</services>

View File

@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/elixir-lang/elixir</param>
<param name="changesrevision">139d2eac5998259379862ff6ed2a5287f7de4ea6</param></service></servicedata>

View File

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

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Jan 1 15:48:20 UTC 2016 - idonmez@suse.com
- Update to v1.2.0
+ Erlang 18 support
+ Many language improvements
+ Please see https://github.com/elixir-lang/elixir/releases/tag/v1.2.0
for the complete changelog.
- Use original source tarball
- Add erlang-dialyzer dependency for the test suite
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 17 18:59:21 UTC 2015 - jiri.bati.novak@gmail.com Tue Nov 17 18:59:21 UTC 2015 - jiri.bati.novak@gmail.com

View File

@ -17,20 +17,21 @@
Name: elixir Name: elixir
Version: 1.1.1 Version: 1.2.0
Release: 0 Release: 0
Summary: Functional meta-programming aware language built on top of the Erlang Summary: Functional meta-programming aware language built on top of the Erlang
License: Apache-2.0 and ErlPL-1.1 License: Apache-2.0 and ErlPL-1.1
Group: Development/Languages/Other Group: Development/Languages/Other
Url: http://elixir-lang.org Url: http://elixir-lang.org
Source0: elixir-v%{version}.tar.bz2 Source0: https://github.com/elixir-lang/elixir/archive/v%{version}.tar.gz
Source2: macros.elixir Source2: macros.elixir
BuildRequires: erlang BuildRequires: erlang
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: make
# required by Mix.SCM.Git see also (https://github.com/elixir-lang/elixir/issues/1386) # required by Mix.SCM.Git see also (https://github.com/elixir-lang/elixir/issues/1386)
Requires: git >= 1.7 Requires: git >= 1.7
BuildRequires: erlang >= 17.4 BuildRequires: erlang >= 18
BuildRequires: erlang-dialyzer
BuildRequires: git >= 1.7 BuildRequires: git >= 1.7
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
@ -46,7 +47,7 @@ Finally, Elixir and Erlang share the same bytecode and data types. This means yo
%define elixirdir %{_prefix}/lib/elixir %define elixirdir %{_prefix}/lib/elixir
%prep %prep
%setup -q -n %{name}-v%{version} %setup -q
%build %build
# Elixir wants UTF-8 locale, force it # Elixir wants UTF-8 locale, force it
@ -69,7 +70,7 @@ make test
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGELOG.md README.md LICENSE LEGAL %doc CHANGELOG.md README.md LICENSE NOTICE
%dir %{elixirdir} %dir %{elixirdir}
%dir %{elixirdir}/bin %dir %{elixirdir}/bin
%dir %{elixirdir}/lib %dir %{elixirdir}/lib

3
v1.2.0.tar.gz Normal file
View File

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