Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang
connection
connection.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File connection.spec of Package connection
%def_enable check %def_without doc %define bname connection Name: %bname Version: 1.1.0 Release: 5 Summary: Connection behaviour for connection processes of Elixir License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/fishcakez/%bname Source: %bname-%version.tar.xz Patch: %bname-%version-git.patch BuildArch: noarch Provides: elixir-%bname = %version-%release Requires: elixir >= 1.2 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: elixir-mix >= 1.3.2-7 BuildRequires: elixir-hex # doc %{?_with_doc:BuildRequires: ex_doc >= 0.22} %description Connection behaviour for connection processes of Elixir. The API is superset of the GenServer API. %prep %setup -q -n %bname-%version %patch -p1 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 elixir --eval 'IO.puts(System.version())' | grep -q '^1\.15\.' || 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> 1.1.0-5 - update BuildRequires * Wed Jul 19 2023 Led <ledest@gmail.com> 1.1.0-4 - without doc * Tue Jul 18 2023 Led <ledest@gmail.com> 1.1.0-3 - add README to docs * Tue Jul 18 2023 Led <ledest@gmail.com> 1.1.0-2 - git e17de7e - update BuildRequires - with docs - disable check for Elixir 1.15 * Sat Feb 04 2023 Led <ledest@gmail.com> 1.1.0-1 - 1.1.0 * Fri Sep 06 2019 Led <ledest@gmail.com> 1.0.4-5 - update URL * Sun May 05 2019 Led <ledest@gmail.com> 1.0.4-4 - update BuildRequires * Sun May 21 2017 Led <ledest@gmail.com> 1.0.4-3 - revert BuildRequires * Sun May 21 2017 Led <ledest@gmail.com> 1.0.4-2 - git 606396d - update BuildRequires * Sun Aug 21 2016 Led <ledest@gmail.com> 1.0.4-1 - 1.0.4 - update BuildRequires - clean up spec * Sun Jun 26 2016 Led <ledest@gmail.com> 1.0.3-1 - 1.0.3 * Sat Jun 18 2016 Led <ledest@gmail.com> 1.0.2-3 - clean up docs * Sat Dec 12 2015 Led <ledest@gmail.com> 1.0.2-2 - add README to docs * Sat Dec 12 2015 Led <ledest@gmail.com> 1.0.2-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