Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
poison
poison.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File poison.spec of Package poison
%def_disable check %def_without docs %define bname poison Name: %bname Version: 4.0.1 Release: 3 Summary: An experimental Elixir JSON library License: BSD-3-Clause Group: Development/Tools/Other URL: https://github.com/devinus/%bname Source: %bname-%version.tar.xz #Patch: %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: elixir-mix elixir-hex %if_with docs BuildRequires: ex_doc >= 0.19 %endif # benchmarks #BuildRequires: erlang-jiffy elixir-jazz elixir-exjsx %description Poison is a new JSON library for Elixir focusing on wicked-fast speed without sacrificing simplicity, completeness, or correctness. Poison takes several approaches to be the fastest JSON library for Elixir. %prep %setup -q -n %bname-%version #patch -p1 sed -i -r '/:(dialyxir|ex_doc),/d' mix.exs %build rm -f config/config.exs export LANG=en_US.UTF-8 ERL_COMPILER_OPTIONS='[inline,verbose]' mix compile --force --no-deps-check %{?_with_docs: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 %if_with docs install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc/dist cp -r doc/dist %buildroot%_otplibdir/%bname-%version/doc/ install -p -m 0644 doc/*.html %buildroot%_otplibdir/%bname-%version/doc/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %endif install -p -m 0644 README* %buildroot%_docdir/%name/ %add_erlang_req_beam_skiplist Elixir.Poison.Decoder.Atom Elixir.Poison.Decoder.BitString Elixir.Poison.Decoder.Float %add_erlang_req_beam_skiplist Elixir.Poison.Decoder.Function Elixir.Poison.Decoder.Integer Elixir.Poison.Decoder.List %add_erlang_req_beam_skiplist Elixir.Poison.Decoder.Map Elixir.Poison.Decoder.PID Elixir.Poison.Decoder.Port %add_erlang_req_beam_skiplist Elixir.Poison.Decoder.Reference Elixir.Poison.Decoder.Tuple %add_erlang_req_beam_skiplist Elixir.Poison.Encoder.Function Elixir.Poison.Encoder.PID Elixir.Poison.Encoder.Port %add_erlang_req_beam_skiplist Elixir.Poison.Encoder.Reference Elixir.Poison.Encoder.Tuple %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 Jun 30 2021 Led <ledest@gmail.com> 4.0.1-3 - export LANG - without docs * Fri Dec 13 2019 Led <ledest@gmail.com> 4.0.1-2 - with docs * Sat Sep 07 2019 Led <ledest@gmail.com> 4.0.1-1 - 4.0.1 - disable %%check * Sun May 05 2019 Led <ledest@gmail.com> 3.1.0-4 - update BuildRequires * Sun May 21 2017 Led <ledest@gmail.com> 3.1.0-3 - revert BuildRequires * Sun May 21 2017 Led <ledest@gmail.com> 3.1.0-2 - update BuildRequires * Sun May 21 2017 Led <ledest@gmail.com> 3.1.0-1 - 3.1.0 - git 4f2a543 - update BuildRequires * Mon Nov 21 2016 Led <ledest@gmail.com> 3.0.0-2 - without docs * Sun Oct 09 2016 Led <ledest@gmail.com> 3.0.0-1 - 3.0.0 * Sun Jun 26 2016 Led <ledest@gmail.com> 2.2.0-1 - 2.2.0 * Sat Jun 18 2016 Led <ledest@gmail.com> 2.1.0-1 - 2.1.0 * Sun Jan 31 2016 Led <ledest@gmail.com> 2.0.1-1 - 2.0.1 * Sun Oct 11 2015 Led <ledest@gmail.com> 1.5.0-5 - clean up BuildRequires * Sun Oct 11 2015 Led <ledest@gmail.com> 1.5.0-4 - enable %%check * Sun Oct 11 2015 Led <ledest@gmail.com> 1.5.0-3 - clean up deps * Sun Oct 11 2015 Led <ledest@gmail.com> 1.5.0-2 - build docs * Sun Oct 11 2015 Led <ledest@gmail.com> 1.5.0-1 - 1.5.0 * Sun Jul 05 2015 Led <ledest@gmail.com> 1.4.0-1 - initial build
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