Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:22
makeup_elixir
makeup_elixir.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File makeup_elixir.spec of Package makeup_elixir
%def_enable check %def_without doc %define bname makeup_elixir Name: %bname Version: 0.15.2 Release: 4 Summary: Elixir language support for makeup License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/tmbb/%bname Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch BuildArch: noarch Provides: elixir-%bname = %version-%release Requires: elixir >= 1.6 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: elixir >= 1.6 BuildRequires: mix >= 1.3.2-7 BuildRequires: elixir-hex BuildRequires: elixir-nimble_parsec >= 1.1 BuildRequires: elixir-makeup >= 1.0 BuildRequires: elixir-unicode_set >= 0.9.0 # check %description A Makeup lexer for the Elixir language. %prep %setup -q -n %bname-%version %patch -p1 -P0 sed -i \ -e '/^ deps:/a\ prune_code_paths: false,' \ -e '/^ deps:/s/: /&[{:makeup, "~> 1.0"}, {:nimble_parsec, "~> 1.1"}], #/' \ mix.exs %build export LANG=en_US.UTF-8 ERL_COMPILER_OPTIONS='[inline,verbose]' mix compile --force --no-deps-check %{?_with_doc:mix doc} %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 *.md %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 * Sat May 11 2024 Led <ledest@gmail.com> 0.15.2-4 - fix patch definition and applying * Sat May 11 2024 Led <ledest@gmail.com> 0.15.2-3 - update BuildRequires - enable check * Sat Sep 02 2023 Led <ledest@gmail.com> 0.15.2-2 - clean up empty dirs * Wed Jul 19 2023 Led <ledest@gmail.com> 0.15.2-1 - 0.15.2 - git e737fc2 * Sat Sep 07 2019 Led <ledest@gmail.com> 0.14.0-2 - remove unneeded deps * Sat Sep 07 2019 Led <ledest@gmail.com> 0.14.0-1 - 0.14.0 - git 6bbddcf
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