Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
7566926d4c |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 17:53:40 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||
|
||||
- Run mix test
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 15:34:02 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||
|
||||
|
@@ -30,6 +30,7 @@ BuildRequires: elixir-hex
|
||||
Obsoletes: elixir-ex_doc < %{version}
|
||||
Provides: elixir-ex_doc = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: git make gcc erlang
|
||||
# ex_doc package IS arch dependent
|
||||
# See https://github.com/elixir-lang/elixir/issues/2785 for details
|
||||
# BuildArch: noarch
|
||||
@@ -51,6 +52,12 @@ export MIX_PATH=%{elixir_libdir}/hex/ebin
|
||||
sed -i -e '1s|/usr/bin/env escript|/usr/bin/escript|' ex_doc
|
||||
install -D -m 0755 ex_doc %{buildroot}%{_bindir}/ex_doc
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
export MIX_ENV=test
|
||||
export MIX_PATH=%{elixir_libdir}/hex/ebin
|
||||
%{__mix} test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md CHANGELOG.md
|
||||
|
Reference in New Issue
Block a user