Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
earmark_ast_dsl
earmark_ast_dsl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File earmark_ast_dsl.spec of Package earmark_ast_dsl
%def_enable check %def_without doc %define bname earmark_ast_dsl Name: %bname Version: 0.3.7 Release: 2 Summary: A toolset to generate EarmarkParser conformant AST Nodes License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/robertdober/%bname Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch BuildArch: noarch Provides: elixir-%bname = %version-%release Requires: elixir >= 1.9 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: elixir >= 1.9 BuildRequires: mix >= 1.3.2-7 BuildRequires: elixir-hex # doc BuildRequires: elixir-ex_doc >= 0.10 %description EarmarkAstDsl is a toolset to generate EarmarkParser conformant AST Nodes. Its main purpose is to remove boilerplate code from Earmark and EarmarkParser tests. %prep %setup -q -n %bname-%version #patch -p1 sed -i '/elixir:/s/1\.11/1.9/' mix.exs sed -i '/^ deps:/a\ prune_code_paths: false,' mix.exs sed -i '/^ deps:/s/: /&[], #/' mix.exs %build export LANG=en_US.UTF-8 ERL_COMPILER_OPTIONS='[inline,verbose]' mix compile --force --no-deps-check %{?_with_doc:mix docs} %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin install -p -m 0644 _build/dev/lib/%bname/ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_docdir/%name install -m 0644 README* %buildroot%_docdir/%name/ %if_with doc install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc/dist install -p -m 0644 doc/dist/* %buildroot%_otplibdir/%bname-%version/doc/dist/ install -p -m 0644 doc/*.html %buildroot%_otplibdir/%bname-%version/doc/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %endif %if_enabled check %check LANG=en_US.UTF-8 ERL_COMPILER_OPTIONS='[inline,verbose]' mix test --no-deps-check %endif %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Wed May 08 2024 Led <ledest@gmail.com> 0.3.7-2 - build on Elixir 1.9 * Wed May 08 2024 Led <ledest@gmail.com> 0.3.7-1 - 0.3.7 * Mon Jul 17 2023 Led <ledest@gmail.com> 0.3.0-2 - build on Elixir 1.9 * Mon Jul 17 2023 Led <ledest@gmail.com> 0.3.0-1 - 0.3.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor