SHA256
1
0
forked from pool/elixir
elixir/elixir-doc.spec
Matwey Kornilov bbcd2fe83d Accepting request 946462 from home:fabriziosestito:branches:devel:languages:erlang
- Elixir 1.13.2
 * 1. Enhancements
   Mix
   [mix format] Allow plugins to also format .ex and .exs files
   [mix release] Allow bypassing application mode validation in release spec
   [mix test] Print a message when the suite fails due to the coverage threshold
 * 2. Bug fixes
   Elixir
   [Code] Do not emit warnings on Code.Fragment.container_cursor_to_quoted/2
   [Kernel] Fix a crash when a for-comprehension with :uniq was used inside another comprehension with :uniq
   [Kernel] Ensure env.context_modules is properly set inside optimized defmodule
   [Keyword] Deprecate the recently added Keyword.map/2 as it is equivalent to Keyword.new/2
   [Map] Deprecate the recently added Map.map/2 as it is equivalent to Map.new/2
   [Protocol] Warn on zero arity callbacks inside protocols

OBS-URL: https://build.opensuse.org/request/show/946462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/elixir?expand=0&rev=75
2022-01-17 09:01:43 +00:00

57 lines
2.2 KiB
RPMSpec

#
# spec file for package elixir-doc
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: elixir-doc
Version: 1.13.2
Release: 0
Summary: Documentation for elixir
License: Apache-2.0
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
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: elixir = %{version}
%description
Documentation for the 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