elixir/elixir-doc.spec

56 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package elixir-doc
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: elixir-doc
Accepting request 620027 from home:develop7:branches:devel:languages:erlang - Elixir 1.6.6 This release supports Erlang/OTP 21.0 by removing all warnings and by properly supporting the new Erlang logger module. * Bug fixes [Base] Do not raise when finding bad digits in Base.decode32! with `case: :mixed` [Code] Preserve the user's choice when fn is followed by a newline and it has only a single clause [DynamicSupervisor] Properly account for restarting children in the `:max_children` configuration [String] Add performant impl for string upcase/downcase :ascii mode [Task.Supervisor] Fix type spec for start_child/4 [Logger] Do not crash truncation when truncate is set to infinity [mix format] Match files starting with dot - Elixir 1.6.5 This release supports Erlang/OTP 21.0-rc by removing all warnings and by properly redirecting logger output. Note it is not guaranteed it will support Erlang/OTP 21.0 final. Bug fixes [Code] Preserve the user's choice in the formatter on parens call with next break fits [Code] Preserve the user's choice in the formatter on calls without parens when we have one argument per line [Code] Fix formatting when there is a tilde in the first element of a bitstring [Kernel] Support specsdiff flag on __info__ spec clauses [Kernel] Do not exclude hygienic vars in defguard [Kernel.SpecialForms] Mark for comprehensions as generated to avoid dialyzer warnings [Macro] Make sure Macro.to_string/2 emits valid quoted expressions OBS-URL: https://build.opensuse.org/request/show/620027 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/elixir?expand=0&rev=30
2018-07-01 12:39:18 +00:00
Version: 1.6.6
Release: 0
Summary: Documentation for elixir
License: Apache-2.0 and ErlPL-1.1
Group: Documentation/Other
Url: http://elixir-lang.org
Source0: https://github.com/elixir-lang/elixir/archive/v%{version}.tar.gz#/elixir-%{version}.tar.gz
BuildRequires: elixir
BuildRequires: elixir-ex_doc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: elixir = %{version}
%description
Documentation for Elixir language.
%prep
%setup -q -n elixir-%{version}
%build
# Elixir wants UTF-8 locale, force it
export LANG=en_US.UTF-8
ex_doc "Elixir" "%{version}" "lib/elixir/ebin" -m "Kernel" -u "https://github.com/elixir-lang/elixir" -o doc/elixir -p http://elixir-lang.org/docs.html
ex_doc "EEx" "%{version}" "lib/eex/ebin" -m "EEx" -u "https://github.com/elixir-lang/elixir" -o doc/eex -p http://elixir-lang.org/docs.html
ex_doc "Mix" "%{version}" "lib/mix/ebin" -m "Mix" -u "https://github.com/elixir-lang/elixir" -o doc/mix -p http://elixir-lang.org/docs.html
ex_doc "IEx" "%{version}" "lib/iex/ebin" -m "IEx" -u "https://github.com/elixir-lang/elixir" -o doc/iex -p http://elixir-lang.org/docs.html
ex_doc "ExUnit" "%{version}" "lib/ex_unit/ebin" -m "ExUint" -u "https://github.com/elixir-lang/elixir" -o doc/ex_unit -p http://elixir-lang.org/docs.html
ex_doc "Logger" "%{version}" "lib/logger/ebin" -m "Logger" -u "https://github.com/elixir-lang/elixir" -o doc/logger -p http://elixir-lang.org/docs.html
%install
%files
%defattr(-,root,root)
%doc doc
%changelog