- Switch from %patch0 to %autosetup - Update to Elixir 1.15.7: * Fix build for Erlang 26 * Changelog available at https://hexdocs.pm/elixir/1.15.7/changelog.html - Add 0001-Use-PID-valid-for-32-bit-systems-closes-12741.patch: * Fix build for 32bit - Add 0001-Use-PID-valid-for-32-bit-systems-followup-to-12741-1.patch: * Fix build for 32bit - Add _multibuild to define 2nd spec file as additional flavor. Eliminates the need for source package links in OBS. - Drop git as a requires and switch buildrequires from git to git-core * Git is not needed to use Elixir, only to run some tests (which git-core can accomplish on its own without git) - Elixir 1.14.2 * 1. Enhancements Elixir [Code] Add Code.eval_quoted_with_env/4 with support for the :prune_binding option ExUnit [ExUnit.Case] Allow test cases to not be registered on use [ExUnit.DocTest] Include :doctest and :doctest_line as meta tags [ExUnit.Formatter] Expose ExUnit.Formatter.format_assertion_diff/4 Mix [Mix] Mix.install/2 accepts atoms as paths * 2. Bug fixes OBS-URL: https://build.opensuse.org/package/show/home:simotek/elixir115?expand=0&rev=1
12 lines
183 B
Plaintext
12 lines
183 B
Plaintext
# macros.elixir
|
|
#
|
|
|
|
%elixir_dir %{_prefix}/lib/elixir
|
|
%elixir_libdir %{_prefix}/lib/elixir/lib
|
|
%__mix %{_bindir}/mix
|
|
|
|
%mix_compile() \
|
|
MIX_ENV=prod %__mix compile \
|
|
%{nil}
|
|
|