Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
exjsx
exjsx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File exjsx.spec of Package exjsx
%def_enable check %def_without doc %define bname exjsx Name: %bname Version: 4.0.0 Release: 4 Summary: json for elixir License: MIT Group: Development/Tools/Other URL: https://github.com//talentdeficit/%bname Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch BuildArch: noarch Provides: elixir-%bname = %version-%release Requires: elixir >= 0.13.3 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: elixir-mix elixir-hex BuildRequires: elixir >= 0.13.3 # doc %{?_with_doc:BuildRequires: elixir-ex_doc >= 0.14} # check BuildRequires: erlang-jsx >= 2.8.0 %description json for elixir based on jsx. %prep %setup -q -n %bname-%version #patch -p1 sed -i \ -e '/^ deps:/a\ prune_code_paths: false,' \ -e '/^ deps:/s/: /&[], #/' \ mix.exs %build export LANG=en_US.UTF-8 ERL_COMPILER_OPTIONS='[inline,verbose]' mix compile --force --no-deps-check %{?_with_docs: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 -p -m 0644 README* %buildroot%_docdir/%name/ %if_with docs 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 * Sun Oct 08 2023 Led <ledest@gmail.com> 4.0.0-4 - update BuildRequires * Tue Jul 18 2023 Led <ledest@gmail.com> 4.0.0-3 - fix build * Sun May 05 2019 Led <ledest@gmail.com> 4.0.0-2 - update BuildRequires - without docs * Thu Mar 30 2017 Led <ledest@gmail.com> 4.0.0-1 - 4.0.0 * Sun Oct 09 2016 Led <ledest@gmail.com> 3.2.1-1 - 3.2.1 * Sat Jun 18 2016 Led <ledest@gmail.com> 3.2.0-4 - clean up docs * Sat Jun 18 2016 Led <ledest@gmail.com> 3.2.0-3 - clean up tests * Sun Oct 11 2015 Led <ledest@gmail.com> 3.2.0-2 - fix URL * Sun Oct 11 2015 Led <ledest@gmail.com> 3.2.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