Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:21
ra
ra.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ra.spec of Package ra
%define bname ra Name: %bname Version: 2.5.1 Release: 3 Summary: A Raft Implementation for Erlang License: MPL-2.0 Group: Development/Tools/Other URL: https://github.com/rabbitmq/%bname Source: %bname-%version.tar.xz #Patch0: %bname-%version-git.patch Patch1: 0001-Type-specs-maybe-1-option-1.patch Patch11: %bname-2.0.13-map-match.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang >= 1:21.3 # check BuildRequires: epmd erlang-common_test erlang-common_test-devel erlang-proper BuildRequires: erlang-aten >= 0.5.8 BuildRequires: erlang-gen_batch_server >= 0.8.8 BuildRequires: erlang-otpbp-devel >= 4.38.0 # check BuildRequires: erlang-otpbp >= 4.38.0 BuildRequires: erlang-seshat >= 0.4.0 %description Ra is a Raft implementation by Team RabbitMQ. It is not tied to RabbitMQ and can be used in any Erlang or Elixir project. It is, however, heavily inspired by and geared towards RabbitMQ needs. Ra (by virtue of being a Raft implementation) is a library that allows users to implement persistent, fault-tolerant and replicated state machines. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release %description doc Ra is a Raft implementation by Team RabbitMQ. This package contains documentation of %bname. %prep %setup -q -n %bname-%version #patch -p1 -P0 %patch -p1 -P1 %patch -p1 -P11 %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", [[io_lib:print(E), ".\n"] || E <- lists:keydelete(deps, 1, L)], [raw]), init:stop().' ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}]" rebar %{?_smp_mflags} -C %bname.rebar.config compile -v rebar %{?_smp_mflags} -C %bname.rebar.config doc -v %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin install -p -m 0644 ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc install -p -m 0644 doc/*.{css,html,png} %buildroot%_otplibdir/%bname-%version/doc/ install -d -m 0755 %buildroot%_docdir/%name ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 *.md %buildroot%_docdir/%name/ %check rebar -C %bname.rebar.config xref ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}]" rebar -C %bname.rebar.config eunit -v #rebar -C %bname.rebar.config ct -v %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Sat May 11 2024 Led <ledest@gmail.com> 2.5.1-3 - fix BuildRequires * Sat May 11 2024 Led <ledest@gmail.com> 2.5.1-2 - update BuildRequires * Sat May 11 2024 Led <ledest@gmail.com> 2.5.1-1 - 2.5.1 - remove patches: + 0001-Don-t-rely-on-the-order-of-lists-returned-by-maps.patch - update patches: + 0001-Type-specs-maybe-1-option-1.patch * Sat May 11 2024 Led <ledest@gmail.com> 2.4.9-1 - 2.4.9 - add patches: + 0002-Type-specs-maybe-1-option-1.patch * Sat May 11 2024 Led <ledest@gmail.com> 2.3.0-1 - 2.3.0 * Sat May 11 2024 Led <ledest@gmail.com> 2.2.0-1 - 2.2.0 - remove patches: + 0001-quote-the-maybe-type-s-atom.patch * Sat May 11 2024 Led <ledest@gmail.com> 2.1.0-1 - 2.1.0 * Sat Sep 02 2023 Led <ledest@gmail.com> 2.0.13-7 - add patches: + 0002-Don-t-rely-on-the-order-of-lists-returned-by-maps.patch * Sun Jul 09 2023 Led <ledest@gmail.com> 2.0.13-6 - add patches: + ra-2.0.13-map-match.patch * Thu Jun 29 2023 Led <ledest@gmail.com> 2.0.13-5 - fix build on Erlang/OTP 22 * Tue Jun 06 2023 Led <ledest@gmail.com> 2.0.13-4 - add patches: + 0001-quote-the-maybe-type-s-atom.patch * Sat Mar 25 2023 Led <ledest@gmail.com> 2.0.13-3 - update BuildRequires - fix build on Erlang < 23 * Fri Jan 06 2023 Led <ledest@gmail.com> 2.0.13-2 - remove patches: + ra-2.0.13-maybe.patch * Fri Jun 10 2022 Led <ledest@gmail.com> 2.0.13-1 - 2.0.13 - git e4e0e00 - add patches: + ra-2.0.13-maybe.patch * Sat Nov 06 2021 Led <ledest@gmail.com> 2.0.1-1 - 2.0.1 - git e0d1e63
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