Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
riak_core
riak_core.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File riak_core.spec of Package riak_core
%define bname riak_core Name: %bname Version: 2.1.10 Release: 1 Summary: Distributed systems infrastructure used by Riak License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/basho/%bname Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch Patch1: %bname-2.1.8-fix-now.patch Patch2: %bname-2.1.10-fix-doc.patch BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 erlang-public_key-devel BuildRequires: erlang-lager-devel erlang-clique %description Riak Core is the distributed systems framework that forms the basis of how Riak distributes data and scales. More generally, it can be thought of as a toolkit for building distributed, scalable, fault-tolerant applications. %package devel Summary: Headers of %bname Group: Development/Tools/Other %description devel Headers of %bname. %prep %setup -q -n %bname-%version %patch0 -p1 %patch1 -p1 %patch2 -p1 erl -noshell -eval ' A = "src/%bname.app.src", {ok, [{application, %bname, L}]} = file:consult(A), file:write_file(A, io_lib:format("{application, %bname, ~81p}.~n", [lists:keystore(vsn, 1, L, {vsn, "%version"})])), halt().' %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", lists:map(fun(E) -> [io_lib:print(E), ".\n"] end, [{erl_opts, [slim, inline, no_debug_info, nowarn_deprecated_function|lists:foldl(fun lists:delete/2, proplists:get_value(erl_opts, L, []), [debug_info, warnings_as_errors])]}|lists:foldl(fun proplists:delete/2, L, [erl_opts, deps])])), halt().' rebar -C %bname.rebar.config compile -v rebar -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/include install -p -m 0644 include/* %buildroot%_otplibdir/%bname-%version/include/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/priv install -p -m 0644 priv/* %buildroot%_otplibdir/%bname-%version/priv/ 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/%name-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 *.md %buildroot%_docdir/%name/ %if 0 %check rebar -C %bname.rebar.config eunit %endif %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %exclude %_otplibdir/*/include %files devel %defattr(-,root,root) %dir %_otplibdir %_otplibdir/*/include %changelog * Sat Feb 25 2017 Led <ledest@gmail.com> 2.1.10-1 - 2.1.10 - git 3f53928 - remove patches: + riak_core-2.1.8-fix-types.patch - update patches: + riak_core-2.1.10-fix-doc.patch * Sat Feb 25 2017 Led <ledest@gmail.com> 2.1.8-2 - update BuildRequires * Sun Feb 12 2017 Led <ledest@gmail.com> 2.1.8-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